Commit graph

42 commits

Author SHA1 Message Date
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
Thomas Haller
2fbca34dbf contrib/makerepo: now works with NetworkManager-openvpn package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2ce4c32195 contrib/makerepo: bases branch on top of commit which created the source tarball
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
cae868f689 contrib/makerepo: check that reapplying patch succeeded in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
0cadf0ad44 contrib/makerepo: fix portability issues of makerepo.sh
makerepo.sh failed on RHEL6, because
- realpath was not available
- git-config did not understand the --local option

Fix these issues.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
665a539f72 contrib/makerepo: fix git-add command invocation in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
879810f9d3 contrib/makerepo: takes makerepo.gitignore from .git/
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
1bb8cc8d05 contrib/makerepo: extend makerepo.sh to support libnl3 package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
7a9a9d84c5 contrib/makerepo: configure git-notes in makerepo.sh and fetch from origin
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2119432cdd contrib/makerepo: update makerepo.sh to better detect rhpkg/fedpkg
Also, allow makerepo.sh not to be in the root directory of the
dist-git checkout. Instead, your current working directory
must now be inside the git working copy

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
ad848122cf contrib/makerepo: update makerepo.sh to detect NetworkManager source directory
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
d060be7f07 contrib/makerepo: add makerepo.sh script
This script can be used when backporting patches in dist-git for
Fedora and RHEL. Try `./makerepo.sh -h`

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00