summaryrefslogtreecommitdiffstats
path: root/src/fedpkg/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename the module 'pyfedpkg' to save headaches.Jesse Keating2010-02-051-786/+0
| | | | | Having the script and the module named the same was just causing too many weird python issues, so I gave up.
* Handle scratch building with srpmsJesse Keating2010-02-031-56/+45
| | | | | | This cleans up from moving a chunk of the build function into it's own koji init function. It also adds a function to deal with uploading content to koji.
* Add a init_koji functionJesse Keating2010-02-031-0/+51
| | | | | I wanted to move the koji initialization out of the build command as we could use it in different functions.
* Add an unused_patches functionJesse Keating2010-02-021-1/+22
|
* Finish the build functionJesse Keating2010-02-011-24/+75
| | | | | | | This borrows some from /usr/bin/koji but does it in a way that allows for clients to handle watching the task if they want or not. As /usr/bin/koji gets moved more toward a koji client library some of this code can go away.
* Add a build functionJesse Keating2010-01-071-0/+56
| | | | | Currently this doesn't actually do anything, but the workings are there. Also make the git repo a object property.
* Define the target when creating the objectJesse Keating2010-01-071-0/+4
|
* Add a anon git url to be used by kojiJesse Keating2010-01-071-0/+1
|
* Change debug output a bitJesse Keating2010-01-061-1/+1
|
* Add a mockbuild functionJesse Keating2010-01-061-1/+39
|
* Finish up the clone functionJesse Keating2010-01-061-9/+23
| | | | | More use of the git module and it's lambda for running arbitrary git commands. There is no clone command within the git module.
* Add a clog functionJesse Keating2010-01-061-0/+30
| | | | | | This could probably be done better, but I didn't want to just copy in the sed script, and my skills at taking sed and converting them into a python regex are not so hot. So if somebody cares, they can fix it.
* Fill in the 'new' targetJesse Keating2010-01-061-0/+15
| | | | | | | This is the first use of the 'git' library, and I'm not sure if I like it or not, but it does provide a wrapper to running various git tasks in something like a pythonic way. If nothing else it saves me from having to wrap everything myself.
* Return is not a functionJesse Keating2010-01-051-1/+1
|
* Make sure we capture error output correctlyJesse Keating2010-01-051-19/+33
|
* Use logging to get output back to the callerJesse Keating2010-01-051-34/+40
| | | | | | Instead of returning output, just log and then return the returncode from the command being ran. This makes it a little nicer client side to deal with output.
* Use logging instead of prints or returning outputJesse Keating2010-01-051-7/+4
|
* Create a logging object that clients can useJesse Keating2010-01-051-0/+14
|
* Fix execution without --path being passedJesse Keating2010-01-051-1/+1
| | | | os.path.curdir() just returns "." and some things don't like that.
* Add a clean functionJesse Keating2010-01-051-0/+31
|
* Add an install functionJesse Keating2010-01-051-0/+31
|
* Add a compile functionJesse Keating2010-01-051-0/+31
|
* Create a prep actionJesse Keating2010-01-051-0/+29
|
* Comment about a desired functionJesse Keating2010-01-051-0/+1
|
* Make lint run on all built packages.Jesse Keating2010-01-051-7/+46
| | | | | Stole the method to get build arches from koji, although I had to change it around a bit.
* Make all rpm calls use shell=TrueJesse Keating2010-01-041-23/+19
| | | | I think this is necessary or some spec junk won't work out right.
* Add a local target to build locallyJesse Keating2010-01-041-1/+42
| | | | | | This still has some errors, and I think I need to run the rpm stuff in a real shell, which would require re-working the rpm defines and editing the other functions that use them. What fun!
* Make localarch a module attributeJesse Keating2010-01-041-1/+8
|
* Whitespace clean upJesse Keating2010-01-041-1/+2
|
* Fix the error messages to match the functionsJesse Keating2010-01-041-2/+2
|
* Use FedpkgError for error checkingJesse Keating2010-01-041-14/+8
|
* Catch subprocess errors and re-raise our errorJesse Keating2010-01-041-1/+4
|
* Add a custom error classJesse Keating2010-01-041-1/+5
| | | | | | This makes it easier to catch errors in the calling tools. They won't have to know about the internals of the library, just catch the custom error and deal with it.
* Add a lint function.Jesse Keating2010-01-041-0/+16
| | | | Needs better error handling, will add a custom error class
* Add getver and getrelJesse Keating2010-01-041-0/+32
| | | | Useful for getting the verrel
* Add fedpkg module and scriptJesse Keating2010-01-041-0/+229
fedpkg is a replacement for the Make system used in dist-cvs.