| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The plan is to update PMS section 8.3.1 as discussed here:
http://archives.gentoo.org/gentoo-pms/msg_ef7635aa655913f2386e64e385f5a6ae.xml
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
There are two cases here that have to be mutually exclusive.
|
| |
|
| |
|
|
|
|
|
| |
This function will work correctly with files encoded in any character
set, as long as the copyright statements consist of plain ASCII.
|
|
|
|
|
| |
This also fixes a case where something like "Copyright 2011 " would be
replaced with "Copyright 2011-2011 ".
|
| |
|
| |
|
|
|
|
|
| |
This should handle all kinds of variance in the input ChangeLog and
skel.ChangeLog.
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This adds docinto, docompress, fowners and fperms to the
variable.usedwithhelpers check. Notably absent is dosed since that
supports mixed input. This will fix bug #377303.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We already have the Eapi4GoneVars check for AA and KV which were
removed in EAPI 4, so we can re-use it to disallow EMERGE_FROM.
This will fix bug #368865.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This check got removed for bug #262365, but now that EAPI 4 is released
we can add it back. Now it checks for ecompress/ecompressdir too (for
bug #218347).
|
|
|
|
| |
This will fix bug #355621.
|
|
|
|
| |
This will fix bug #354685.
|
|
|
|
|
|
| |
We tolerate global scope import failures for optional modules, so that
ImportModulesTestCase can succeed (or possibly alert us about
unexpected import failures).
|
|
|
|
|
|
| |
This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa.
Since split() never return empty tokens, this patch does nothing.
|
| |
|
| |
|
|
|
|
|
|
|
| |
New check: NoOffsetWithHelpers. Checks whether helper functions, such as
dodir and insinto, are used with offset variables either referring to
the installation image (D, ED), the alternate root location (ROOT,
EROOT), or the offset prefix (EPREFIX).
|