summaryrefslogtreecommitdiffstats
path: root/src/pyfedpkg/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't use log.error from within the libraryJesse Keating2010-09-151-6/+2
| | | | | | Just raise it, let the caller figure out what to do. This reverts commit 1118325ec5f7aec7b2d50867848f4b2d51c59b41.
* 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
|
* Fix epel dist val (Thanks Dennis)Jesse Keating2010-08-111-1/+1
|
* Fix dist related PackageModule.rpmdefines itemsJesse Keating2010-08-111-5/+5
| | | | | This is from Hans Ulrich Niedermann <hun@n-dimensional.de> but it didn't apply to my tree so I reproduced it by hand.
* Make switch-branches indiciate the current branchJesse Keating2010-08-111-0/+11
| | | | Ticket #42 Some ugly string work here...
* Make an srpm if we need one. Ticket #49Jesse Keating2010-08-111-1/+4
|
* Add a giturl commandJesse Keating2010-08-111-0/+8
| | | | This prints out the url that would be passed to koji to do the build.
* Check for dirty repo when switching branches.Jesse Keating2010-08-111-0/+4
|
* Make clean use the _run_commandJesse Keating2010-08-111-12/+3
|
* Fix the prep command to use _run_commandJesse Keating2010-08-111-13/+4
| | | | Get realtime output!
* Add pipe support to _run_commandJesse Keating2010-08-111-27/+41
| | | | | | This is so that we can pipe one command into another and still get all the goodness of the _run_command stuff. Also make "local" use it as a test case.
* Revert "set the loacl rpms macros to match whats set in olpc-release,"Jesse Keating2010-08-111-5/+2
| | | | This reverts commit 8ca17966d912f8f22d30bab217d085ec7f275adf.
* Fix rawhide branch detection (define .distshort)Hans Ulrich Niedermann2010-08-051-0/+1
| | | | | | Fix rawhide branch detection (define .distshort) Also define PackageModule.distshort for rawhide branches.
* Enable branch switching without any rpm contentJesse Keating2010-08-021-51/+60
| | | | | Without rpm content, we can't init the packagemodule, so don't try to do that when switching branches.
* Don't clog the first line of a changelogJesse Keating2010-08-021-4/+3
| | | | It's redundant.
* Also log on chain buildingJesse Keating2010-08-021-0/+3
|
* Add a nvr property to the class and use itJesse Keating2010-08-021-0/+2
| | | | | We could probably use this in more places, but this is a good start. Ticket #30
* set the loacl rpms macros to match whats set in olpc-release,Dennis Gilmore2010-08-011-2/+5
| | | | fedora-release and redhat-release. fixes a bug on local rpm creation
* Remove unused importJesse Keating2010-07-311-1/+0
|
* Fix a hashtype bugJesse Keating2010-07-311-1/+1
|
* Fix chainbuild to work for rawhide at leastJesse Keating2010-07-311-2/+4
| | | | Need more logic here to work with other chainable targets like epel.
* Make fedpkg clone -b f?? package workJesse Keating2010-07-291-0/+6
| | | | Also works for el? and olpc?
* Try to use kitchen when available.Jesse Keating2010-07-291-1/+4
| | | | This should make things work on el4/5