[dev] Git repository split starting now

Ralf Lang lang at b1-systems.de
Thu Oct 5 19:51:26 UTC 2017


Hi all,

>> The split went fine so far, the old horde repository has been 
>> deprecated, and the documentation at 
>> https://www.horde.org/development/git has been updated.
>>
>> We're not completely done yet, especially the mail notifications 
>> haven't been set up yet. Thus I ask all Horde developers to not start 
>> committing to the new repositories yet.
>>
>> Jan.
>>
> I will test drive the new documentation steps later today to see if they 
> are fool proof. ;-) Without committing...
> 


I played around with the new developer deployment.

Some remarks:

0) In case you don't have composer, go get it

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 
'544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') 
{ echo 'Installer verified'; } else { echo 'Installer corrupt'; 
unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"


1) If you use php 7, you will most likely want to run
php composer.phar install --ignore-platform-reqs
instead of
php composer.phar install
when installing horde git tools. at least for now.

2) The docs on the horde website still advise to use mrubinsk's repo for 
horde-git-tools, not the cloned one from the horde website. It does not 
matter though,

3) Both don't work with a fresh install. They try to pull things from 
horde-git (horde/horde) which are no longer there.

namely you have to add

git clone https://github.com/horde/components horde-git/components
mkdir horde-git/framework/
git clone https://github.com/horde/Argv horde-git/framework/Argv
git clone https://github.com/horde/Cli horde-git/framework/Cli
git clone https://github.com/horde/Cli_Modular 
horde-git/framework/Cli_Modular
git clone https://github.com/horde/Pear horde-git/framework/Pear
git clone https://github.com/horde/Yaml horde-git/framework/Yaml

Afterwards, you should be able to run
composer.phar install [--ignore-platform-reqs]


Rewinding the repo to before the great purge might also help, I haven't 
tried that. Most likely, the stuff can also be pulled directly from the 
pear server instead of getting it from horde-git  - I haven't tried that.




-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537


More information about the dev mailing list