summaryrefslogtreecommitdiffstats
path: root/src/pyfedpkg/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* clone: set repo's push.default to trackingenh/set-push.default-tracking-on-cloneHans Ulrich Niedermann2010-08-131-0/+4
|
* Avoid function calls as default param valuesfix/function-param-os.getcwd-defaultHans Ulrich Niedermann2010-08-131-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
* 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
* Move 'sources' to not be part of the classJesse Keating2010-07-291-51/+61
| | | | | This might work around a weird issue where the koji builders can't read the git config strings in the chroot
* Fix checking for unpushed changes on a branchJesse Keating2010-07-281-2/+4
|
* Always target dist-rawhide when building from masterJesse Keating2010-07-271-1/+1
|
* Allow anonymous checkouts with fedpkgJesse Keating2010-07-271-1/+5
| | | | Comes from https://fedorahosted.org/fedora-packager/ticket/25
* Fix cloning with branches for our new branch schemeJesse Keating2010-07-271-3/+4
|
* Remove the koji.stg hackJesse Keating2010-07-271-4/+0
|
* Update to production URLSJesse Keating2010-07-271-4/+4
|
* Impliment pushing. Thanks Jochen@herr-schmitt.deJesse Keating2010-07-261-0/+9
|
* Rework how we deal with branchesJesse Keating2010-07-231-22/+51
| | | | | | Create a new list_branches function to discover the local and remote branches. Allow creating a new branch if the requested local branch doesn't already exist.
* Imports go at the topJesse Keating2010-07-231-1/+2
|
* When SSL connection fails, print it on screen.Thomas Spura2010-07-231-2/+6
| | | | | | | E.g. when the handshake fails, because your certificate is too old, fedpkg will gracefully fail and not completely crash. Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>
* Change how we determine branchesJesse Keating2010-07-221-17/+42
| | | | | | | | | | This requires that remote branches follow a naming scheme of <release>/master and <release>/topic where release is like "f13" or "epel6". If we don't find a f<something, epel<something>, or olpc<something>, we assume that it is either master, or a branch of master for rawhide, and treat it like rawhide. To determine rawhide target we look at all the f branches, find the latest one and add 1 to the number. Seems to work and will keep working until Fedora 99.
* Use log not printJesse Keating2010-07-151-1/+1
|
* Added new command 'switch-branch' for working with branches.Léon Keijser2010-07-151-0/+22
|
* Print out the user eqiv koji commandJesse Keating2010-07-141-0/+13
| | | | | Even though we don't use koji directly, it's helpful to users if we show them the command they would have to use to duplicate what we are doing.