Commit graph

61 commits

Author SHA1 Message Date
Thomas Haller
4cd539745b makerepo: add upstream branch parent for wpa_supplicant release 2016-09-12 11:01:11 +02:00
Thomas Haller
086113a646 makerepo: better detect current source directory
Fix detecting "NetworkManager-0.8.1" directory in
"NetworkManager-0.8.1.git20100811.tar.bz2" tarball for rhel-6.
2016-09-08 23:51:24 +02:00
Thomas Haller
4b797b69ee makerepo: add support for ModemManager package 2016-08-26 16:29:01 +02:00
Thomas Haller
f74ba16681 makerepo: better detect current source directory
When switching between branches (e.g. 'rhel-7.2' and 'rhel-7.3'),
the script would not properly detect the source directory and on
'rhel-7.3' it might choose 'NetworkManager-1.0.6' instead of
'NetworkManager-1.4.0'.

Fix that, by choosing the lastly modified directory, which is the
correct one as we do this after running `$FEDPKG prep`.
2016-08-26 16:29:01 +02:00
Thomas Haller
a62c06dcb3 makerepo: add upstream branch parent for initscripts release 2016-08-23 15:18:37 +02:00
Thomas Haller
1650074ea6 makerepo: add upstream branch parent for libnl3 release 2016-07-09 09:48:03 +02:00
Thomas Haller
b654086fda makerepo: add upstream branch parent for NetworkManager-openvpn release 2016-07-04 11:31:50 +02:00
Thomas Haller
ee3466b75f makerepo: add upstream branch parent for libnl3 release 2016-06-30 13:36:22 +02:00
Thomas Haller
67f6b005a0 makerepo: fix supporting NetworkManager-libreswan package 2016-06-29 19:42:06 +02:00
Thomas Haller
1cb3b1e26f makerepo: add upstream branch parent for NetworkManager-libreswan release 2016-06-29 19:37:04 +02:00
Thomas Haller
5f8ccb9064 makerepo: add upstream branch parent for NM-vpn release 2016-06-21 09:51:52 +02:00
Thomas Haller
678ce9e730 contrib/makerepo: add vpnc package to makerepo.sh 2016-05-15 19:55:22 +02:00
Thomas Haller
d16ebc90e0 contrib/makerepo: better try to detect an unknown build-type 2016-03-16 10:24:41 +01:00
Thomas Haller
58d180acaa makerepo.sh: clear old patches before splitting patches
Otherwise, patches from a previous run might interfere.
2015-12-01 14:08:03 +01:00
Thomas Haller
31aa552f42 makerepo.sh: support iproute package 2015-12-01 10:41:52 +01:00
Thomas Haller
e953304dad makerepo.sh: support NetworkManager-libreswan pacakge 2015-10-23 16:04:10 +02:00
Thomas Haller
e95629ca49 makerepo.sh: add comment with howto and usage example 2015-09-03 15:46:16 +02:00
Thomas Haller
7638534d84 makerepo.sh: add parent commits for "network-manager-applet" package 2015-08-17 14:10:45 +02:00
Thomas Haller
0752bd18bd contrib/makerepo.sh: record last dirty files to create .gitignore file on next build 2015-08-17 14:10:45 +02:00
Thomas Haller
a77550a6c7 contrib/makerepo: add parent commit for NetworkManager-openvpn source package 2015-05-28 11:09:59 +02:00
Thomas Haller
597d2a35fa contrib/makerepo: add parent commit for nm-applet source package 2015-05-21 16:37:03 +02:00
Thomas Haller
311a146daf contrib/makerepo: limit number of patches to revert
On rhel-6 branch, an old patch breaks the script.
Just limit the number of undos to exclude that script.
2015-05-18 18:37:45 +02:00
Thomas Haller
cbeee992e8 contrib/makerepo: use git remote rm instead of "remove"
Older git versions only know the latter.
2015-05-18 18:27:15 +02:00
Thomas Haller
7fce03c35f contrib/makerepo: avoid script error for NetworkManager, rhel-6 2015-03-11 11:58:33 +01:00
Thomas Haller
3c7de1d646 contrib/makerepo: support libibverbs package in makerepo.sh 2015-01-15 16:40:04 +01:00
Thomas Haller
503ebbe9b0 contrib/makerepo: add git tags to created repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-09 09:57:41 +02:00
Thomas Haller
afc82337a7 contrib/makerepo: support libqmi package in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:58:39 +02:00
Thomas Haller
e49bd006d9 contrib/makerepo: parse the patch -p option from the spec file
This adds support for different -p options the -p1.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
1e4c4d2f11 contrib/makerepo: detect upstream base commit for libnl-3.2.21
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
615543107a contrib/makerepo: support initscripts repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
2a3a5a873d contrib/makerepo: add network-manager-applet and NetworkManager-vpnc
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
cd9c7d268b contrib/makerepo: cleanup detection of repository type
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9ce0f03d99 contrib/makerepo: interpret NO_REMOTE variable to disable fetching from remote
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
6c4b266d0d contrib/makerepo: support mipv6-daemon repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9b34f04e67 contrib/makerepo: update detection of base commit for libnl3
libnl3 now contains the git commit id in ./configure as
LIBNL_GIT_SHA.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
682f26fd2d contrib/makerepo: support wireless-tools repository 2014-10-03 10:40:22 +02:00
Thomas Haller
3db87fee7c contrib/makerepo: add base-commit for libnl3 source
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
dd498c59b7 contrib/makerepo: add --dist argument to set the distribution
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9e224cf37d contrib/makerepo: fix error parsing command line arguments
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
ed9b758726 contrib/makerepo: create a local mirror of the upstream repository to speedup fetching
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
7e7ed5f015 contrib/makerepo: don't write default pattern to makerepo.gitignore file
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
0f75272136 contrib/makerepo: use the patch backup extentions from specfile for gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
fa980d800b contrib/makerepo: support branch specific makerepo.gitignore file
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
25baa94b3b contrib/makerepo: improve script to include last commit that modified a patch in created history
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d18a4ec128 contrib/makerepo: fix error writing makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
4fcc8c8d24 contrib/makerepo: now works with NetworkManager-openswan and libreswan package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
eadbe0af37 contrib/makerepo: encode the base commits for certain known packages
Makerepo tries to detect the upstream base commit, in order to base
the history on the upstream commit. Hardcode a list of known base commits
and match them depending on the content of the sources file.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
2358aeacb0 contrib/makerepo: add default gitignore pattern to makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
3c7675af14 contrib/makerepo: detects RELEASE_BASE_COMMIT or NetworkManager-openvpn
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
fd5365c4a9 contrib/makerepo: accepts the RELEASE_BASE_COMMIT as environment variable (only detect as fallback)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00