[commits] components branch master updated. ff46d70a00d18bc0c5f96b0600e456a7e8085324

jan at horde.org jan at horde.org
Wed Dec 6 16:53:21 UTC 2017


The branch "master" has been updated.
The following is a summary of the commits.

from: bb9b4d72a572aea94e5869a5eb7044ed4ee642c9

02efe41 unset() raises warnings on ArrayObjects.
860733e Create wrappers for all special component files.
e693453 Rename getChangelog() to getChangelogLink().
cac1041 Remove unnecessary _system() options.
591269c Use file wrappers.
e8161c1 phpdoc
d24cbb6 Release tasks only work with source components.
d41b599 Update/fix tests.
a424868 Reload package.xml wrapper after bootstrapping it.
ccff94f Don't try to commit if just pretending.
17fbc5f package.xml may be non-existant and bootstrapped instead.
605dc54 Don't output any messages if 'print'ing or 'diff'ing.
5053121 Remove double trailing new line.
06eba46 Replace getFile() with getFullPath(), getLocalPath(), and getFileName().
37d96fb Allow to path a Components_Wrapper to Components_Helper_Commit#add().
8852006 Allow a few .horde.yml field to not be set.
97e9af9 Process CHANGES even if pretending.
d4dbd35 Use common code for setVersion() and nextVersion().
a41712b Fix variable name.
ff46d70 Avoid notice.

Summary: https://github.com/horde/components/compare/bb9b4d72a572...ff46d70a00d1

-----------------------------------------------------------------------

commit 02efe4140fa908ac434af5b2dc79e3f210c6ee14
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 27 Nov 2017 16:59:15 +0100

unset() raises warnings on ArrayObjects.

 M lib/Components/Helper/ChangeLog.php

https://github.com/horde/components/commit/02efe4140fa908ac434af5b2dc79e3f210c6ee14

-----------------------------------------------------------------------

commit 860733e4b76f6ffa4e5cf13a5ab702bfb8fc9680
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 16:15:14 +0100

Create wrappers for all special component files.

 R lib/Components/Helper/ChangeLog/Yaml.php
 A lib/Components/Wrapper.php
 A lib/Components/Wrapper/ChangelogYml.php
 A lib/Components/Wrapper/Changes.php
 A lib/Components/Wrapper/ComposerJson.php
 A lib/Components/Wrapper/HordeYml.php
 A lib/Components/Wrapper/PackageXml.php
 A lib/Components/Wrapper/Trait.php
 R test/Components/Unit/Components/Helper/ChangeLogYamlTest.php
 A test/Components/Unit/Components/Wrapper/ChangelogYmlTest.php

https://github.com/horde/components/commit/860733e4b76f6ffa4e5cf13a5ab702bfb8fc9680

-----------------------------------------------------------------------

commit e69345326e0a65ed45ab9fb6f8764cbccd3761d9
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 16:15:14 +0100

Rename getChangelog() to getChangelogLink().

This is what it does, and the old name was confusing.

 M data/distribute/openSUSE/components.php
 M lib/Components/Component.php
 M lib/Components/Component/Base.php
 M lib/Components/Component/Source.php
 M lib/Components/Helper/ChangeLog.php
 M lib/Components/Release/Task/Announce.php

https://github.com/horde/components/commit/e69345326e0a65ed45ab9fb6f8764cbccd3761d9

-----------------------------------------------------------------------

commit cac1041a9f1207f5232412fbf9f20d08e1914d6e
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 16:17:41 +0100

Remove unnecessary _system() options.

 M lib/Components/Helper/ChangeLog.php

https://github.com/horde/components/commit/cac1041a9f1207f5232412fbf9f20d08e1914d6e

-----------------------------------------------------------------------

commit 591269c2e7536d09572589d14b5f78fa41bce018
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 16:36:41 +0100

Use file wrappers.

- Encapsulates all operations on the various component definition/schema files.
- Strip down changelog helper.
- Don't output and don't save in the various helpers and classes. Keeping those operations central, so we can print, diff, and save all updated files at once.
- Fix --set-version.

 M lib/Components/Component.php
 M lib/Components/Component/Base.php
 M lib/Components/Component/Factory.php
 M lib/Components/Component/Source.php
 M lib/Components/Helper/ChangeLog.php
 M lib/Components/Release/Notes.php
 M lib/Components/Runner/Change.php
 M lib/Components/Runner/Update.php

https://github.com/horde/components/commit/591269c2e7536d09572589d14b5f78fa41bce018

-----------------------------------------------------------------------

commit e8161c19a5954c98928690d9a8c56957ff5648b9
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 16:37:04 +0100

phpdoc

 M lib/Components/Component/Factory.php
 M lib/Components/Component/Source.php
 M lib/Components/Helper/ChangeLog.php
 M lib/Components/Runner/Update.php

https://github.com/horde/components/commit/e8161c19a5954c98928690d9a8c56957ff5648b9

-----------------------------------------------------------------------

commit d24cbb6d48bd9e6f8ad6a40812ac03084fa100a2
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 16:37:17 +0100

Release tasks only work with source components.

 M lib/Components/Release/Task/Base.php

https://github.com/horde/components/commit/d24cbb6d48bd9e6f8ad6a40812ac03084fa100a2

-----------------------------------------------------------------------

commit d41b59948335ef1f61814a411b9879f4c8d40293
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 17:23:52 +0100

Update/fix tests.

 M test/Components/Unit/Components/Module/UpdateFromHordeYmlTest.php
 M test/Components/Unit/Components/Release/Task/PackageTest.php
 M test/Components/Unit/Components/Release/Task/TimestampTest.php
 A test/Components/fixture/deps/.horde-new.yml
 M test/Components/fixture/deps/.horde.yml
 M test/Components/fixture/deps/package-new.xml
 M test/Components/fixture/deps/package.xml

https://github.com/horde/components/commit/d41b59948335ef1f61814a411b9879f4c8d40293

-----------------------------------------------------------------------

commit a424868f40c61f8ca6de425ec5d9e5ffc534ebaf
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 17:24:19 +0100

Reload package.xml wrapper after bootstrapping it.

 M lib/Components/Component/Source.php

https://github.com/horde/components/commit/a424868f40c61f8ca6de425ec5d9e5ffc534ebaf

-----------------------------------------------------------------------

commit ccff94f4ed99ac17559c287870d21943e3e504ef
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 17:24:54 +0100

Don't try to commit if just pretending.

 M lib/Components/Component/Source.php

https://github.com/horde/components/commit/ccff94f4ed99ac17559c287870d21943e3e504ef

-----------------------------------------------------------------------

commit 17fbc5f015ccddc3a52046257aa2d2a8980a44d7
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 17:25:22 +0100

package.xml may be non-existant and bootstrapped instead.

 M lib/Components/Component/Source.php

https://github.com/horde/components/commit/17fbc5f015ccddc3a52046257aa2d2a8980a44d7

-----------------------------------------------------------------------

commit 605dc549a8978f3b691ca3756221f18ab579c2a0
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 17:25:49 +0100

Don't output any messages if 'print'ing or 'diff'ing.

 M lib/Components/Runner/Update.php

https://github.com/horde/components/commit/605dc549a8978f3b691ca3756221f18ab579c2a0

-----------------------------------------------------------------------

commit 505312188dcf7342f355905f4665d224effd76ae
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 17:26:22 +0100

Remove double trailing new line.

 M lib/Components/Wrapper/ComposerJson.php

https://github.com/horde/components/commit/505312188dcf7342f355905f4665d224effd76ae

-----------------------------------------------------------------------

commit 06eba46fa9cd4b1b14d9f6333c6d32bf40f6655f
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 20:40:28 +0100

Replace getFile() with getFullPath(), getLocalPath(), and getFileName().

 M lib/Components/Component/Source.php
 M lib/Components/Helper/ChangeLog.php
 M lib/Components/Wrapper.php
 M lib/Components/Wrapper/Changes.php
 M lib/Components/Wrapper/Trait.php
 M test/Components/Unit/Components/Wrapper/ChangelogYmlTest.php

https://github.com/horde/components/commit/06eba46fa9cd4b1b14d9f6333c6d32bf40f6655f

-----------------------------------------------------------------------

commit 37d96fbceff1e99a86b5a017f2d1e51f431608c6
Author: Jan Schneider <jan at horde.org>
Date:   Mon, 04 Dec 2017 20:51:23 +0100

Allow to path a Components_Wrapper to Components_Helper_Commit#add().

 M lib/Components/Component/Source.php
 M lib/Components/Helper/Commit.php

https://github.com/horde/components/commit/37d96fbceff1e99a86b5a017f2d1e51f431608c6

-----------------------------------------------------------------------

commit 88520066eea4b3fce8c58a57378cea400122062f
Author: Jan Schneider <jan at horde.org>
Date:   Wed, 06 Dec 2017 17:48:24 +0100

Allow a few .horde.yml field to not be set.

 M lib/Components/Component/Source.php

https://github.com/horde/components/commit/88520066eea4b3fce8c58a57378cea400122062f

-----------------------------------------------------------------------

commit 97e9af99ce74dd7aa5bb3adb81cddf80dc1bf5cc
Author: Jan Schneider <jan at horde.org>
Date:   Wed, 06 Dec 2017 17:51:00 +0100

Process CHANGES even if pretending.

 M lib/Components/Component/Source.php
 M lib/Components/Helper/ChangeLog.php

https://github.com/horde/components/commit/97e9af99ce74dd7aa5bb3adb81cddf80dc1bf5cc

-----------------------------------------------------------------------

commit d4dbd355acef9a548b8c41870aa14d95c483abeb
Author: Jan Schneider <jan at horde.org>
Date:   Wed, 06 Dec 2017 17:52:21 +0100

Use common code for setVersion() and nextVersion().

Update tests.

 M lib/Components/Component/Source.php
 M test/Components/Unit/Components/Module/UpdateFromHordeYmlTest.php
 M test/Components/Unit/Components/Release/Task/NextSentinelTest.php

https://github.com/horde/components/commit/d4dbd355acef9a548b8c41870aa14d95c483abeb

-----------------------------------------------------------------------

commit a41712bae703eb4cb2775b7475e024841e3588f2
Author: Jan Schneider <jan at horde.org>
Date:   Wed, 06 Dec 2017 17:52:55 +0100

Fix variable name.

 M lib/Components/Helper/Commit.php

https://github.com/horde/components/commit/a41712bae703eb4cb2775b7475e024841e3588f2

-----------------------------------------------------------------------

commit ff46d70a00d18bc0c5f96b0600e456a7e8085324
Author: Jan Schneider <jan at horde.org>
Date:   Wed, 06 Dec 2017 17:53:12 +0100

Avoid notice.

 M lib/Components/Release/Task/NextVersion.php

https://github.com/horde/components/commit/ff46d70a00d18bc0c5f96b0600e456a7e8085324


More information about the commits mailing list