summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'new-command/verify-files' into 5/ALL5/ALLHans Ulrich Niedermann2011-02-053-1/+28
|\ | | | | | | | | Conflicts: src/fedpkg.bash
| * Add "fedpkg verify-files" command5/verify-filesHans Ulrich Niedermann2011-02-013-1/+28
| | | | | | | | | | | | | | | | usage: fedpkg verify-files [-h] Locally run 'rpmbuild -bl' to verify the spec file's %files sections. This is useful after a successful run of 'fedpkg install' or after a 'fedpkg local' run which failed due to %files list inaccuracies.
* | Merge branch '5/initial-merge' into 5/ALLHans Ulrich Niedermann2011-02-054-5/+265
|\ \
| * | Add "fedpkg clone --initial-merge" argument5/initial-mergeHans Ulrich Niedermann2011-02-014-6/+27
| | |
| * | Add "fedpkg initial-merge" commandHans Ulrich Niedermann2011-02-014-1/+240
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage: fedpkg.py initial-merge [-h] [-n] [repo-path [repo-path ...]] Performs a 'git merge' of all git branches with the same content (i.e. with the same package spec files, patch files, etc.), regardless of their history. This is useful after Fedora's dist-cvs to dist-git migration, as often different branches have different histories but the same content on the filesystem. After these initial merges of identical trees, future merges between the branches will be a lot easier: Easier to follow in the dependency graph, and easier to perform without conflicts. positional arguments: repo-path Path to a repo to initial-merge optional arguments: -h, --help show this help message and exit -n, --dry-run Whether to run without actually merging
* | Merge branch '5/man-page' into 5/ALLHans Ulrich Niedermann2011-02-053-3/+192
|\ \
| * | Add build time man page generator5/man-pageHans Ulrich Niedermann2011-02-053-3/+192
| | | | | | | | | | | | Add man page generator to generate a man page at build time.
* | | Have PackageModule require a path5/ndim-miscHans Ulrich Niedermann2011-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The definition of the --path argument to fedpkg in parse_cmdline() already makes os.getcwd() the default value for args.path. Thus, we can get rid of the code providing the very same default for the path in PackageModule.__init__(). Also, make sure the path actually exists and is a directory.
* | | Run SRPM rpmbuild via fakerootHans Ulrich Niedermann2011-02-051-1/+1
| | | | | | | | | | | | | | | This avoids unnecessary lookup of non-existing users and the resulting error messages in mock builds.
* | | Fix permission of files to be put into SRPMHans Ulrich Niedermann2011-02-052-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option '--fix-permissions' to the 'fedpkg srpm' call. If the '--fix-permissions' option is not given, the behaviour of 'fedpkg srpm' does not change at all. If the '--fix-permissions' option is given, fedpkg runs git ls-files -z | xargs -0 chmod a+r before running the normal rpmbuild command. This makes sure that all 0600 files the filesystem are changed to the usual 0644 before including them in .src.rpm file.
* | | Unify --md5 parameter handlingHans Ulrich Niedermann2011-02-052-11/+13
|/ / | | | | | | | | | | | | | | | | | | | | Unify handling of the --md5 parameter between the two targets using it: 'fedpkg local' and 'fedpkg srpm'. If no --md5 parameter is given, then the default hashtype is used, as determined in PackageModule.__init__() ('md5' for el5 and el6, and 'sha256' for everything else). If an --md5 parameter is given, then use the 'md5' hashtype.
* | Add help text for global --user option5/basicHans Ulrich Niedermann2011-02-051-1/+2
| |
* | Comment typo fixHans Ulrich Niedermann2011-02-011-1/+1
| |
* | Move argparse setup into parse_cmdline functionHans Ulrich Niedermann2011-02-011-3/+10
| | | | | | | | | | | | | | | | Move the argparse setup and the actual argument parsing into a separate parse_cmdline function. This makes the actual main program more clear, and allows reusing of the argparse setup for man page generation later.
* | Comment typo fixHans Ulrich Niedermann2011-02-011-1/+1
|/
* Require python-hashlib on EL5 and 4Jesse Keating2011-01-311-0/+1
|
* Catch a traceback when trying to build from local branchJesse Keating2011-01-311-7/+10
| | | | | When the local branch doesn't have a merge point, catch people trying to build from a remote url.
* Release 0.5.3.0-1Jesse Keating2011-01-313-2/+40
|
* Catch the case where there is no branch merge point (#622592)Jesse Keating2011-01-301-1/+4
|
* Revert "Catch the case where there is no branch merge (#619979)"Jesse Keating2011-01-301-4/+1
| | | | | This reverts commit 6734b0afba8cc8361392fd40b5b46a11ce0bce09. Fixing a bad commit message
* Catch the case where there is no branch merge (#619979)Jesse Keating2011-01-301-1/+4
|
* Fix whitespaceJesse Keating2011-01-301-1/+1
|
* Add an argument to override the "distribution"Jesse Keating2011-01-303-24/+32
| | | | | | This allows developers to force fedpkg into not discovering the distribution based on branch name, and instead just take what the developer says it is.
* upload to lookaside cache tgz filesDennis Gilmore2011-01-301-2/+2
|
* Handle traceback if koji is down or unreachable.Jesse Keating2011-01-301-1/+5
|
* If we don't have a remote branch, query koji (#619979)Jesse Keating2011-01-301-5/+12
| | | | | This looks to see what tag 'dist-rawhide' will build into, which will tell us good info about the dist values.
* Add a method to create an anonymous koji sessionJesse Keating2011-01-301-10/+16
| | | | This will be useful to query koji without bothering to log in
* Make sure we have sources for mockbuild (#665555) (jwboyer)Jesse Keating2011-01-221-0/+6
|
* Revert "Make sure we have an srpm when doing a mockbuild (#665555)"Jesse Keating2011-01-222-7/+0
| | | | | | This reverts commit e50d2677e6d9ab661b791097dde3086ecf21c16f. Better to just download sources here, not make the srpm.
* Regenerate the srpm if spec file is newer (ticket #84)Jesse Keating2011-01-211-9/+22
| | | | | | | Compare the modification times of the spec and the srpm if it exists and see if we need to re-generate due to a spec change. Most of this code comes from Gianluca Sforna <giallu@gmail.com> with modifications from me.
* Improve cert failure message (Ticket 90)Jesse Keating2011-01-211-1/+1
|
* Get package name from the specfile. (Ticket 75)Jesse Keating2011-01-211-2/+17
| | | | | We can't trust the name of the specfile to match, so get the name as defined within the specfile.
* Handle anonymous clones in clone_with_dirs. (#660183)Ricky Zhou2011-01-211-2/+7
|
* Make sure we have an srpm when doing a mockbuild (#665555)Jesse Keating2011-01-212-0/+7
| | | | | This required a new option to mockbuild, md5. This is because srpm needs this argument to function correctly.
* Catch all errors from watching tasks. (#670305)Jesse Keating2011-01-211-2/+2
| | | | | There are just too many error types here that can trip us up, so use the dreaded catchall.
* Fix a traceback when koji goes offline (#668889)Jesse Keating2011-01-211-1/+1
|
* Fix traceback with lint (ticket 89)Jesse Keating2011-01-211-1/+1
|
* 0.5.2.0 releaseDennis Gilmore2011-01-053-3/+74
|
* switch away from list2cmdline()Dennis Gilmore2011-01-051-11/+9
| | | | | Patch from Toshio https://bugzilla.redhat.com/show_bug.cgi?id=667433#c7
* Import subprocess from stdlib when possibleDennis Gilmore2011-01-051-3/+4
| | | | | patch from Toshio https://bugzilla.redhat.com/show_bug.cgi?id=667433#c6
* Logout before watching tasksJesse Keating2010-12-031-0/+1
| | | | This can also prevent auth errors (#634946)
* Add a tool to generate the rpm changelogJesse Keating2010-12-021-0/+111
| | | | This comes from Brian Lane, ./git-changelog -v <tag>
* Handle having no sources file (#656897)Jesse Keating2010-12-021-2/+5
|
* Add a dash of error checking to update (#655576)Jesse Keating2010-12-021-1/+5
|
* Fix a traceback on expried credentials (#634946)Jesse Keating2010-12-021-1/+6
|
* Backport a bugfix from koji upstream to fix 628504Jesse Keating2010-12-021-0/+4
| | | | This fixes a potential traceback on ^c
* Fix up the commit commandJesse Keating2010-12-012-2/+2
| | | | | Looks like argparse doesn't like a % in help. Odd. Also fix a logic error for non-tty usage.
* Merge branch 'sources'Jesse Keating2010-12-011-0/+1
|\ | | | | | | | | Conflicts: src/pyfedpkg/__init__.py
| * print filename of downloaded sourceDan HorĂ¡k2010-12-011-0/+1
| | | | | | | | | | | | When the "sources" target is run, then curl prints some statistics during the download of the missing file, but it doesn't print the filename that gets downloaded.
* | Merge branch 'spaces'Jesse Keating2010-12-011-6/+10
|\ \