aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/rpmutil.py
Commit message (Collapse)AuthorAgeFilesLines
* Make package and revision optional options for submit, againBogdano Arendartchuk2007-11-131-14/+11
| | | | | | | | | This mode has been broken for a long time due to a change in subversion output. The confirmation of the revision being used was removed, as already used by mdvsys. Instead, notify the user and allow him to interrupt the process.
* Fix: don't use versions/ when using -v option of getsrpmBogdano Arendartchuk2007-11-121-1/+1
|
* Added option -o to 'co' to disable the use of mirror when checking outBogdano Arendartchuk2007-11-081-2/+2
|
* Perform less svn operations in getsrpm and rpmlogBogdano Arendartchuk2007-06-171-1/+1
| | | | | | | | - 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/
* As requested by mrl, don't relocate back to mirror after commitBogdano Arendartchuk2007-06-161-10/+8
|
* Fixed sync to different behavior of parseSpec in rpm-4.8.8Bogdano Arendartchuk2007-06-121-0/+1
| | | | | | parseSpec must called with _topdir properly defined to the top directory of the package, as it will check the presence of source files.
* Don't use mirror in 'co' when the user provides one URLBogdano Arendartchuk2007-06-121-2/+7
|
* Added FIXME to strange putsrpm behaviorBogdano Arendartchuk2007-06-121-0/+2
|
* Improved (and fixed) the support to mirrors and "switch" subcommandBogdano Arendartchuk2007-06-051-4/+25
| | | | | | | | | - added the switch subcommand to quickly switch between the default and the mirrored repositories - fixed bug of generating bogus mirror URLs - make "ci" smarter by only relocation if something has been changed in the working copy and it is not already relocated.
* FIXME possible bugs in get_srpm related to revision numbers.Bogdano Arendartchuk2007-06-041-0/+4
|
* Run svn.info before svn.status in order to check if we're in a workingBogdano Arendartchuk2007-05-041-0/+3
| | | | | copy.
* Use basename of source entries, they may be URLs (and flags don't makeBogdano Arendartchuk2007-05-041-1/+2
| | | | | clear if it is a URL or not)
* Added one cheap copy of the sync subcommand from mdvsys.Bogdano Arendartchuk2007-05-031-1/+53
| | | | | | | | | | | | | It required two sensitive changes: - in order to parse the spec file, "rpm" module was used, so this is the brand new package dependency; and - as RepSys already had one "rpm" module, we had to rename it to "simplerpm" in order to allow access to the module from python-rpm (I think py2.4 is still used a lot so we can't use absolute imports)
* Added initial support to mirrors, as requested by mrl.Bogdano Arendartchuk2007-05-021-0/+24
| | | | | | | | | It was added an option "mirror" to repsys.conf, that will contain an URL to the mirror repository. Also added the subcommand "ci", which will relocate one working copy to the master repository before effectively commiting.
* Removed bogus macros files and added [macros ..] sections to repsys.conf.Bogdano Arendartchuk2007-01-291-3/+10
| | | | | | | | | 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.
* Fixed old module use that does not exist nowBogdano Arendartchuk2007-01-031-1/+1
|
* 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-2/+2
|
* Fixed wrong variable name on "changed".Bogdano Arendartchuk2006-11-301-3/+3
|
* Fixed undeclared name "pkgdirurl" in "co" subcommand. Replaced url byBogdano Arendartchuk2006-11-131-3/+3
| | | | | pkgdirurl, as in the rest of the code.
* make get_srpm() verbose only when called from the getsrpm commandOlivier Blin2006-11-131-2/+4
|
* - fixed the problem of trailling slashes in package urlsBogdano Arendartchuk2006-10-231-2/+2
|
* make get_srpm display the extracted .src.rpm (path + filename) (initially ↵Olivier Blin2006-10-191-0/+1
| | | | from pixel, frontport from V1_5_X)
* merge 1.6.2b changesOlivier Blin2006-09-271-0/+4
|
* - define a more complete rpm environment for constructing the .src.rpmAndreas Hasenack2006-06-231-2/+12
| | | | | so all the files end up being where we expect them to be
* - on behalf of bogdano@mandriva.com:Andreas Hasenack2006-02-021-18/+36
| | | | | | | | | | | | | | | - 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"
* get_srpm: fixed a testFrederic Lepied2005-12-071-1/+1
|
* 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/+369