aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/log.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow specifying distro branches without using complete URLsBogdano Arendartchuk2008-07-171-4/+4
| | | | | | | | Added the configuration option "repository", which will have the URL to the root of the repository. The change also allowed using mirrors in all the read-only commands.
* Don't hide authors with only the first revision SILENTed (#41117)Bogdano Arendartchuk2008-07-171-5/+7
|
* Ensure sorted changelog entries will have correct spacingBogdano Arendartchuk2008-03-031-2/+11
| | | | | | | Strip the spare changelog entries newlines in order to add again later and ensure that we will have the same spacing between all sorted changelog entries.
* Refactored log api: move specifile_svn2rpm to get_changelogBogdano Arendartchuk2008-03-031-33/+71
| | | | | | | | | | The old specfile_svn2rpm will be used only to the purpose of creating the spec with the changelog to be used by getsrpm. The new main function to retrieve the changelog of a given package is the function get_changelog(), which creates the changelog from svn, append oldlog, append the changelog from the spec (if available), sort them and create the final changelog to be output.
* Instead of inverting count all the time, decrease it in every loopBogdano Arendartchuk2008-03-031-3/+6
| | | | | Also added a clearer comment about the function of count.
* Add configuration option to sort the generated changelogBogdano Arendartchuk2008-03-031-11/+56
| | | | | | | | | | | | | | The boolean option "sort" in the [log] section can be used to make repsys sort all the entries after generating the changelog from svn and concatenating with the one found in "misc/". It was also added another option to merge the log found in the spec (those that don't have the %changelog section stripped). The current problem with this implementation is that SILENTed entries in svn will not be merged with those found in %changelog or in misc. Not a problem really.
* Fixed emptylog to be shown when necessaryBogdano Arendartchuk2008-02-061-23/+30
| | | | | | | | | As emptylog started working again another problem arose: the first release in most of the packages is SILENTed and result in a emptlog entry. The problem is that the log gathered from misc/ already contains (in most of the cases, at least) the version-release with the right message.
* Set the default template path and update the built-in one to matchBogdano Arendartchuk2008-02-051-5/+16
| | | | | default.chlog
* Dropped all authenticated access supportBogdano Arendartchuk2007-11-151-3/+3
| | | | | | | | | | | | Subversion authentication has been broken for a long time and the workarounds weren't decent. It will be back in 1.7.x. Also added configuration option svn-command in the global section, allowing to replace the default svn command. And use svn+ssh:// URLs to be in BatchMode, in order to not have any interactivity at all with ssh
* Really fixed generation of unreleased commitsBogdano Arendartchuk2007-11-141-5/+5
| | | | | | | | It was using the previous markrelease revision as reference. The recent broken fix was using "releasesdata[0]" instead of "releasesdata[-1]" which is the newest release revision.
* Reverted "Fix: unreleased commits are not those newer than the last markrelease"Bogdano Arendartchuk2007-11-131-5/+5
| | | | | | | It was r228878. Some changelogs are broken. Revert it while a better fix is investigated.
* Added the complement to SILENT: CLOGBogdano Arendartchuk2007-11-081-7/+19
| | | | | | When using CLOG, only those lines beginning with this token will be shown. It only works when enabled in repsys.conf.
* Fix: unreleased commits are not those newer than the last markreleaseBogdano Arendartchuk2007-09-211-5/+5
| | | | | | | | Entries considered unreleased must be those newer than the latest released revision in current/. Problem pointed out by mrl.
* Perform less svn operations in getsrpm and rpmlogBogdano Arendartchuk2007-06-171-36/+42
| | | | | | | | - don't export SPECS/ when current/ is already exported - don't check for the presence of a path that will be exported in the same code, let it raise one exception - complain when no changelogs are found inside SPECS/
* prepare for cheetah-2Bogdano Arendartchuk2007-06-161-1/+1
|
* Show epoch of the release in changelog, even when it has not beenBogdano Arendartchuk2007-05-081-3/+9
| | | | | markreleased yet.
* Make issue an clearer error when python-cheetah is not installed. ClosesBogdano Arendartchuk2007-05-081-1/+4
| | | | | #27374.
* Fixed regressions introduced in changelog generation while fixing theBogdano Arendartchuk2007-05-021-5/+24
| | | | | problem of package just imported.
* Implemented __repr__ for the classes _Release and _Revision in order toBogdano Arendartchuk2007-05-021-0/+11
| | | | | ease debugging.
* Escape even the old changelogs that are inside misc/.topic/V1_6_X-ldapusersBogdano Arendartchuk2007-04-241-2/+9
| | | | | | | These old changelogs contain bogus macros entries because the output of rpm -qp --changelog (or the equivalent) doesn't print the changelogs escaped.
* Aways use HEAD for changelogs placed in misc/, since they can containBogdano Arendartchuk2007-04-241-1/+3
| | | | | | | | fixes. Also they are always intended to represent one change *BEFORE* the package import.
* Make releases with only SILENTed messages will result in a warning, not toBogdano Arendartchuk2007-03-151-5/+4
| | | | | be skipped.
* Hide authors with only SILENTed changesets.Bogdano Arendartchuk2007-01-301-1/+8
|
* Removed stripping of log messages in order to not destroy topic structureBogdano Arendartchuk2007-01-301-1/+0
| | | | | from log messages.
* Removed bogus macros files and added [macros ..] sections to repsys.conf.Bogdano Arendartchuk2007-01-291-28/+8
| | | | | | | | | These sections are referenced by the "rpm-macros" option in [submit ..] sections and contain the RPM macros to be used with the target of the package being generated. These macros are defined using --define option of rpm.
* Added "repsys.macros" configuration file.Bogdano Arendartchuk2007-01-241-1/+24
| | | | | | | It will contain macros overriding the local system ones. The reason for it is to make changelogs generated in kenobi (2007.0) having the cooker release number (in the case 2007.1).
* Make the changelog show the revision number from ignored commits that areBogdano Arendartchuk2007-01-031-4/+2
| | | | | | | | | newer than the not ignored ones. Releases containing only SILENT commit messages will be shown, but without log lines (probably the changelog template should handle this case).
* Changed the behavior of the SILENT option to be line-oriented.Bogdano Arendartchuk2007-01-021-7/+12
| | | | | | | | Lines in the commit messages containing SILENT at any place will be ignored. Commit messages containing SILENT at the beginning of the first line will make all lines to be ignored.
* Commit messages containing SILENT (or whatever is in repsys.conf) won't appearBogdano Arendartchuk2007-01-021-0/+9
| | | | | in the changelog.
* Really minor comment fixesBogdano Arendartchuk2007-01-021-2/+2
|
* Make source lines fit in 80 columnsBogdano Arendartchuk2007-01-021-1/+2
|
* - use svn export instead of checkout, saves 50% disk spaceAndreas Hasenack2006-11-301-1/+2
|
* - silence stderr when querying for version-release of a .src.rpm packageAndreas Hasenack2006-11-141-1/+1
|
* Removed duplicated code to find the author name in make_releases.Bogdano Arendartchuk2006-11-131-3/+1
|
* - added small lstrip to handle log messages beginning with spacesBogdano Arendartchuk2006-10-311-0/+1
|
* - fixed the problem of trailling slashes in package urlsBogdano Arendartchuk2006-10-231-3/+3
|
* - fixed regression from the bug of package without releases/Bogdano Arendartchuk2006-10-201-8/+9
|
* - changed repsys to use copy-from svn metadata to generate log messagesBogdano Arendartchuk2006-10-201-35/+50
|
* - added another format for the changelog data, so that it can be used byBogdano Arendartchuk2006-10-191-12/+38
| | | | | templates for changelogs compatible with repsys 1.5
* - fixed bug introducted in r65890, in which it was ignoring unreleasedBogdano Arendartchuk2006-10-191-10/+12
| | | | | revisions when the package had no releases.
* - removed unnecessary parsing of the log entriesBogdano Arendartchuk2006-10-181-5/+0
|
* - added Warly's patch to make log.py cope with packagesAndreas Hasenack2006-10-171-21/+23
| | | | | which have no markrelease
* - fixed the "end" revision number, which was being passed as NoneBogdano Arendartchuk2006-02-201-3/+4
|
* - place revision-offset in [log] section and not in [global]Andreas Hasenack2006-02-161-1/+1
| | | | | - added revision-offset to default config file
* - added support "day zero revision"Bogdano Arendartchuk2006-02-161-3/+13
|
* - removed wrong use of "start=rev", since we can do "markrelease" after theBogdano Arendartchuk2006-02-131-1/+1
| | | | | given release.
* - on behalf of bogdano@mandriva.com:Andreas Hasenack2006-02-021-54/+323
| | | | | | | | | | | | | | | - improved markrelease command line parsing - changelogs entries are now groupped by author, and sorted by revision number - the changelog now is generated using the Cheetah Template Engine, to allow quick modifications without spending time reading code and introducing new bugs - consequently, was added an option "-T <file>" to rpmlog and getsrpm to allow choosing the path of the template to be used - added options noauth=0, and baseurl=None in order to disable the authentication in some url schemes (http:// and //) - replaced some "cl" references to "mdv"
* Initial revisionR1_5_3_1-4mdktopic/V1_5_X@821topic/V1_5_X@819topic/V1_5_3@959topic/V1_5_3@819topic/V1_5_3Frederic Lepied2005-12-071-0/+100