5 Commits

Author SHA1 Message Date
Christoph M. Becker
7bc1c7900f Add general support for exporting from a Github mirror
This is a follow up on the quick fix for exporting from the php-src
Github mirror[1].  Instead of hard-coding everything in the code, we
introduce a configurable `gh_url`, and use it if given.  We cannot use
the repository URL, though, because the toplevel folder inside the
downloaded archive would have a different name (the shortened revision
number is expanded again); downloading from the codeload subdomain
gives the desired result.

[1] <9e1ca1002a>
2020-09-07 13:42:26 +02:00
Christoph M. Becker
9e1ca1002a Get php-src snapshots from Github
Due to server overload, the snapshot downloads from http://git.php.net/
have been recently disabled.  Therefore, we have to fetch the snapshots
from Github.  Unfortunately, rmtools expect everything available via
GitWeb, so we can't just change the configuration in the respective INI
files, so we hack around by hard-coding the download URL.  Even worse,
`wget()` apparently does not yet support redirects, so we use the
codeload subdomain directly.

For now this seems to resolve the snapshot build issues, but needs to
be properly resolved soonish.
2020-09-06 14:01:23 +02:00
Anatol Belski
d7f919649b More refactoring
- partial locking on the db file
- fix revision fetching, previously only the latest was fetched
- upload snaps as they built for now
2017-09-18 19:35:59 +02:00
Anatol Belski
2258819ac5 improve git cmd check and take spaces in path into account 2016-11-17 01:16:48 +01:00
Anatol Belski
ac0638eaf3 liquidate the client subdir, all the stuff can now be directly in root 2016-11-15 19:48:29 +01:00