summaryrefslogtreecommitdiffstats
path: root/src/pyfedpkg/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't use temporary editor files for spec (#677121)Jesse Keating2011-02-141-1/+1
|
* Don't error out just from stderr from rpmJesse Keating2011-02-111-1/+9
| | | | | Rpm can be bitchy, but also return 0, so handle that. Also try to do something meaningful / useful with the error output.
* Catch errors parsing spec to get name. (#676383)HEADmasterJesse Keating2011-02-091-0/+2
|
* Re-arrange verify-files and slight fixupsJesse Keating2011-02-091-13/+11
|
* Add "fedpkg verify-files" commandHans Ulrich Niedermann2011-02-091-0/+13
| | | | | | | | 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.
* Add a --rebase and --no-rebase option to pullJesse Keating2011-02-091-2/+12
| | | | I decided to emulate git here and not default to a rebase.
* Handle arches argument for scratch builds (#675285)Jesse Keating2011-02-081-1/+6
|
* Trim the "- " out of clogs. (#675892)Jesse Keating2011-02-081-1/+1
|
* Exit with an error when appropriateJesse Keating2011-02-081-0/+3
| | | | | | When dealing with the pipe stuff, we need to catch if the first command exits with an error, because that error won't carry through to the piped command. Fixes RHBZ:634888
* Comment typo fixHans Ulrich Niedermann2011-02-011-1/+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.
* 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-301-2/+5
| | | | | | 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
* 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
|
* 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
* Handle having no sources file (#656897)Jesse Keating2010-12-021-2/+5
|
* Fix up the commit commandJesse Keating2010-12-011-1/+1
| | | | | 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
|\ \
| * | Handle source files with spaces in them. Trac #85Jesse Keating2010-12-011-6/+10
| |/ | | | | | | | | Source files with spaces mean we have to be careful how we parse the sources file, and how we hand URLs off to curl. Good times.
* / Remove parenthesises on mymodule.nvrJochen Schmitt2010-11-301-4/+0
|/
* Fixups in the retire functionJesse Keating2010-09-231-6/+10
|
* Implementing a retire commandJochen Schmitt2010-09-231-0/+22
|
* Add a tag request function (Xavier Lamien)Jesse Keating2010-09-201-0/+62
| | | | | This patch is manually applied and then adjusted by me. Adds the basic tag request functionality.
* Fix up the diff changes from jochenJesse Keating2010-09-201-1/+1
|
* Handle paths with push/pullJesse Keating2010-09-201-6/+10
|
* Fix up tag commandsJesse Keating2010-09-201-10/+8
| | | | Minor clean ups from jochen's submission
* Fix up some contributed docstringsJesse Keating2010-09-201-5/+17
|
* Whitespace fixJesse Keating2010-09-201-1/+1
|
* Move diff function out of the PackageModule classJochen Schmitt2010-09-201-29/+28
| | | | | | | | | | | hello Jesse, because you have wrote, that you want a minimum set of functions in the PackageModule clase, I have move the diff function out of their. Best Regards: Jochen Schmitt
* Distlinguish between new empty repositories and retiered packagesJochen Schmitt2010-09-201-1/+8
| | | | | | | | | | | | Hello Jesse, I have add an test to distlinguish a new package in which a package should been imported form a package which is retired. Best Regards: Jochen Schmitt
* Add -i (info) switch to the lint commandJochen Schmitt2010-09-201-2/+5
| | | | | | | | | | | Hello Jesse, this patch add a -i (info) tag for the fedpkg lint command. Best Regards: Jochen Schmitt
* Move pull and push function out of PackageModuleJochen Schmitt2010-09-201-14/+14
| | | | | | | | | | | Hello Jesse, I have move the pull() and push() function in the __init__.py module out of the PackageModule class. Best Regards: Jochen Schmitt
* Implementation of a pull commandJochen Schmitt2010-09-201-0/+7
| | | | | | | | | | Hello Jesse, this patch implemts a pull command for fedpkg. Best Regards: Jochen Schmitt
* Implenentation of a tag commandJochen Schmitt2010-09-201-3/+46
| | | | | | | | | | | | | Hello Jesse, this patch contains a tag command for fedpkg. I have divede the tag function in __init__.py into three functions for add, delete and list tags. All this functions lives outside of the PackageModule class. Best Regards: Jochen Schmitt
* Don't use log.error from within the libraryJesse Keating2010-09-101-6/+2
| | | | Just raise it, let the caller figure out what to do.
* Also redirect stderr over to stdout on non-termsJesse Keating2010-09-101-1/+2
| | | | Again this is just because rpmbuild does some stupid things.
* Name the process variables right (#632097)Jesse Keating2010-09-101-2/+2
|