| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
We want repoman to be applicable to as many repositories as possible.
If necessary, we can add another layout.conf attribute that configures
the copyright start years for all files.
|
| |
|
|
|
|
|
|
| |
We want repoman to be applicable to as many repositories as possible.
If necessary, we can add another layout.conf attribute that configures
the copyright start years for all files.
|
| |
|
|
|
|
|
|
| |
To retain the behaviour of echangelog, update the copyrights on modified
files (mostly ebuilds) when necessary. Also update the ChangeLog's
copyright.
|
|
|
|
|
|
|
| |
Use skel.ChangeLog from the repo to create the header of a new ChangeLog
file. Else, we just retain the original header of the ChangeLog. When
no skel.ChangeLog file exists, and this is a new ChangeLog, no header is
used.
|
| |
|
| |
|
|
|
|
|
| |
Like echangelog does, show ChangeLog or Manifest if there are no other
changes to display.
|
|
|
|
|
| |
This feature got dropped on commit
b655137b7b5f87c11a7e742b7ef0e028a1139677.
|
|
|
|
|
|
|
|
| |
Also:
* copy the old header from the old ChangeLog if it exists, in case it
contains a non-gentoo header
* don't add a header if the old ChangeLog exists and doesn't contain
a header
|
|
|
|
|
|
|
|
|
|
| |
Instead of calling echangelog, which on its turn has to query the VCS
again, use the existing information on changes made to the current
directory, and update the ChangeLog from Python itself.
This avoids a call to echangelog, and avoids again retrieving the same
VCS information as repoman already did. It makes repoman independent
from external tools it didn't install itself, and should be faster in
general.
|
|
|
|
|
| |
Since subversion 1.7, only a top-level .svn dir is used. Make FindVCS
also deal with that. (Tested with repoman on Prefix SVN-based tree.)
|
|
|
|
| |
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=373669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The io.open() function is the same as the built-in open() function in
python3, and its implementation is optimized in python-2.7 and later.
In addition to the possible performance improvement, this also allows
us to avoid any future compatibility issues with codecs.open() that
may arise if it is delegated to the built-in open() function as
discussed in PEP 400.
The main caveat involved with io.open() is that TextIOWrapper.write()
raises TypeError if given raw bytes, unlike the streams returned from
codecs.open(). This is mainly an issue for python2 since literal
strings are raw bytes. We handle this by wrapping TextIOWrapper.write()
arguments with our _unicode_decode() function. Also, the
atomic_ofstream class overrides the write() method in python2 so that
it performs automatic coercion to unicode when necessary.
|
|
|
|
|
|
| |
This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa.
Since split() never return empty tokens, this patch does nothing.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
elements since the DTD allows it. Thanks to Mark Loeser <Halcy0n@g.o>
for reporting.
|
| |
|
|
|
|
|
|
|
| |
Return a dict of dicts in parse_metadata_use(), with second-level keys
being the restrict strings (or None when no restrict). When generating
use.local.desc, use the description from the possibly-highest-matching
atom.
|
|
|
|
|
|
|
| |
* Allow empty descriptions (backward compatibility).
* Support multiple 'use' elements.
* If multiple 'flag' elements have the same name attribute, use
the first occurance.
|
| |
|
|
|
|
|
| |
python-2.7, so egencache --update-use-local-desc gets all of the inner
text.
|
| |
|
|
|
|
|
|
| |
Grab the USE descriptions from metadata.xml within parse_metadata_use().
Instead of a plain flag list, return a dict containing both the flag
names and their descriptions.
|
|
|
|
| |
check_metadata_herds().
|
| |
|
|
|
|
|
| |
As repoman regenerates and readds Manifests anyway, there's no reason to
complain when one hasn't been added yet.
|
|
|
|
|
|
| |
Move the real code into repoman.utilities. Support any repository depth
for distributed SCMs -- i.e. Sunrise through git-svn. Bail out if more
than one control version directory is found at the same depth.
|
|
|
|
|
|
| |
Previously, <flag/>-related errors in metadata.xml caused repoman
to abort the checks without even reporting the full path to broken
metadata.xml file. Now they are accounted as 'metadata.bad' errors.
|
|
|
|
| |
check_metadata_herds().
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
svn path=/main/trunk/; revision=15216
|
|
|
|
|
|
| |
compatibility with Python 3.
svn path=/main/trunk/; revision=14421
|
|
|
|
|
|
|
|
| |
dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3.
(2to3-3.1 -f dict -nw ${FILES})
svn path=/main/trunk/; revision=14327
|
|
|
|
|
|
|
|
| |
for compatibility with Python 3.
(2to3-3.1 -f itertools -f itertools_imports -nw ${FILES})
svn path=/main/trunk/; revision=14314
|
|
|
|
| |
svn path=/main/trunk/; revision=14302
|
|
|
|
| |
svn path=/main/trunk/; revision=14294
|
|
|
|
|
|
| |
(2to3-3.1 -f print -nw ${FILES})
svn path=/main/trunk/; revision=14290
|
|
|
|
|
|
| |
(2to3-3.1 -f except -nw ${FILES})
svn path=/main/trunk/; revision=14289
|
|
|
|
|
|
| |
$PWD is unset. Thanks to Jonathan Callen <en.ABCD@gmail.com> for this patch.
svn path=/main/trunk/; revision=14174
|
|
|
|
| |
svn path=/main/trunk/; revision=14097
|
|
|
|
|
|
| |
since shlex.split() doesn't behave well with unicode strings.
svn path=/main/trunk/; revision=13939
|
|
|
|
|
|
| |
Thanks to Alec Warner <antarus@g.o>.
svn path=/main/trunk/; revision=12049
|