summaryrefslogtreecommitdiffstats
path: root/src/pyfedpkg/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fedpkg: Try not to add redundant gitignore entriesTodd Zullinger2010-09-081-1/+11
| | | | | | | | | | | If there is a entry which matches the filename we're about to add already in the gitignore file, we don't need to bother adding another entry. This adds a match() method to GitIgnore which uses fnmatch. Under the hood, this is what git uses. It doesn't catch some of the special cases git has, but it should simply fail to match in those cases and will add a potentially redundant entry -- no different than previously.
* Fix setting push.default when cloning with dirsJesse Keating2010-08-241-2/+4
|
* Use the correct remote when listing revsJeroen van Meeuwen (Ergo Project)2010-08-231-2/+5
|
* Send stderr over to the pipe command tooJesse Keating2010-08-231-1/+4
| | | | | | | I don't like doing this, but I'm failing at coming up with a clever way to only do it in cases we know we want it, such as rpmbuild calls. Since that's the only thing we're piping right now, call it good, but I still don't like it.
* re-fix dist defines.Jesse Keating2010-08-231-2/+2
| | | | One of these times I'll get it right.
* Short cut the failure on repeated buildsJesse Keating2010-08-201-0/+8
| | | | | Saves a bunch of time waiting for the srpm creation and koji to figure out what n-v-r we're trying to build. Ticket #27
* clone: set repo's push.default to trackingHans Ulrich Niedermann2010-08-201-0/+4
| | | | clone: set repo's push.default to tracking
* Make sure we get the right path to the fileJesse Keating2010-08-201-1/+5
|
* Make use of _run_command's cwd option.Jesse Keating2010-08-201-7/+1
|
* Add support for running a command from a specific dirJesse Keating2010-08-201-7/+15
|
* Update docstring for _run_commandJesse Keating2010-08-201-0/+2
|
* Move commit out of the PackageModule object.Jesse Keating2010-08-201-35/+41
| | | | | | Outside of clog, there is no reason why commit should need data from the spec file. This fixes a bug when marking a package as dead so that one can commit again. Ticket #54
* Avoid function calls as default param valuesHans Ulrich Niedermann2010-08-191-8/+26
| | | | | | | | | | | | | A function call used as a default parameter value is evaluated once when the module code is first read in. However, the os.getcwd() function might give different results at run time than at module reading time. This replaces those default param values with None, and has the function bodies call os.getcwd() if the param happens to be None. See also http://docs.python.org/reference/compound_stmts.html#function-definitions
* Fix up chain buildingJesse Keating2010-08-171-3/+5
| | | | | We were not setting up the chains right, and our logging was all funky. We now handle chains properly and log it sensibly
* Add missing process call for non-pipe no tty.Jesse Keating2010-08-121-0/+5
|
* Trap attempts to make git repos. #622716Jesse Keating2010-08-121-4/+10
|
* Trap errors dealing with the lookaside. #622291Jesse Keating2010-08-121-2/+8
|
* Catch malformed sources file. #621808Jesse Keating2010-08-121-1/+4
|
* Handle a case where the repo be borked. #620750Jesse Keating2010-08-121-1/+4
|
* Except more from ssl_login errors. #620653Jesse Keating2010-08-121-1/+1
|
* Catch errors when parsing spec files. #620648Jesse Keating2010-08-111-2/+5
|
* Catch missing executables. BZ 619879Jesse Keating2010-08-111-1/+2
|
* Log a summary of uploaded files. Ticket #47Jesse Keating2010-08-111-0/+4
|
* Define a default hashtype, and fix it for el4/5Jesse Keating2010-08-111-1/+9
|
* Fix up dist define on master branchJesse Keating2010-08-111-1/+1
|
* Properly format the gitignore file. Ticket #43Jesse Keating2010-08-111-1/+1
|