| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
We can't trust the name of the specfile to match, so get the name as
defined within the specfile.
|
| |
|
|
|
|
|
| |
Patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c7
|
|
|
|
|
| |
patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c6
|
| |
|
|
|
|
|
| |
Looks like argparse doesn't like a % in help. Odd. Also fix a logic
error for non-tty usage.
|
|\
| |
| |
| |
| | |
Conflicts:
src/pyfedpkg/__init__.py
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| |/
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
This patch is manually applied and then adjusted by me. Adds the basic
tag request functionality.
|
| |
|
| |
|
|
|
|
| |
Minor clean ups from jochen's submission
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Hello Jesse,
this patch add a -i (info) tag for the fedpkg lint
command.
Best Regards:
Jochen Schmitt
|
|
|
|
|
|
|
|
|
|
|
| |
Hello Jesse,
I have move the pull() and push() function in the __init__.py
module out of the PackageModule class.
Best Regards:
Jochen Schmitt
|
|
|
|
|
|
|
|
|
|
| |
Hello Jesse,
this patch implemts a pull command for fedpkg.
Best Regards:
Jochen Schmitt
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Just raise it, let the caller figure out what to do.
|
|
|
|
| |
Again this is just because rpmbuild does some stupid things.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
One of these times I'll get it right.
|
|
|
|
|
| |
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 tracking
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
We were not setting up the chains right, and our logging was all funky.
We now handle chains properly and log it sensibly
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|