Description of problem: A function should be added to mgarepo similar to what can be done via mgarepo log package-name (to get the log for /current) To ease something like the following bash function - to get the log for /releases: function svnrel() { svn log svn+ssh://svn.mageia.org/svn/packages/cauldron/"$@"/releases } or from inside a checkout: alias svnrel="svn log \$(svn info | grep ^URL | awk '{print $2}' | cut -d'/' -f1,2,3,4,5,6,7)/releases" Cf. also https://wiki.mageia.org/en/Packagers_svn#How_to_query_if_a_commit_has_already_been_submitted Reproducible: Steps to Reproduce:
Keywords: (none) => TriagedAssignee: bugsquad => boklmSource RPM: (none) => mgarepo
Try 'mgarepo rpmlog <foo>'.
CC: (none) => jani.valimaa
s/foo/package
(In reply to Jani Välimaa from comment #1) > Try 'mgarepo rpmlog <foo>'. Nope that only shows changelog. Comparison: doktor5000@Mageia4 ~]$ mgarepo rpmlog flacon * Wed Mar 05 2014 david-david <david-david> 0.8.0-3.mga5 + Revision: 600024 - add missing Requires on python-chardet (mga#12926) * Sat Oct 19 2013 umeabot <umeabot> 0.8.0-2.mga4 + Revision: 525532 - Mageia 4 Mass Rebuild + fwang <fwang> - should be noarch package * Fri May 31 2013 fwang <fwang> 0.8.0-1.mga4 + Revision: 433559 - new version 0.8.0 * Fri Jan 11 2013 umeabot <umeabot> 0.6.0-3.mga3 + Revision: 350470 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Nov 29 2012 barjac <barjac> 0.6.0-2.mga3 + Revision: 323155 - changed group in line with new policy * Tue Jan 17 2012 doktor5000 <doktor5000> 0.6.0-1.mga2 + Revision: 197432 - new version 0.6.0 - added missing Requires on python-qt4-gui, python-qt4-network and python-sip - use xdg-user-dir for default output directory - fix license to GPLv3+ - imported package flacon ======================================================================== [doktor5000@Mageia4 ~]$ grep -A2 "svnrel2()" ~/.bashrc function svnrel2() { svn log svn+ssh://svn.mageia.org/svn/packages/cauldron/"$@"/releases } ======================================================================== [doktor5000@Mageia4 ~]$ svnrel2 flacon ------------------------------------------------------------------------ r600294 | schedbot | 2014-03-06 00:20:32 +0100 (Do, 06. Mär 2014) | 6 Zeilen %repsys markrelease version: 0.8.0 release: 3.mga5 revision: 600024 Copying 0.8.0-3.mga5 to releases/ directory. ------------------------------------------------------------------------ r525657 | schedbot | 2013-10-19 04:25:17 +0200 (Sa, 19. Okt 2013) | 6 Zeilen %repsys markrelease version: 0.8.0 release: 2.mga4 revision: 525532 Copying 0.8.0-2.mga4 to releases/ directory. ------------------------------------------------------------------------ r433563 | schedbot | 2013-05-31 04:34:09 +0200 (Fr, 31. Mai 2013) | 6 Zeilen %repsys markrelease version: 0.8.0 release: 1.mga4 revision: 433559 Copying 0.8.0-1.mga4 to releases/ directory. ------------------------------------------------------------------------ r433560 | schedbot | 2013-05-31 04:34:06 +0200 (Fr, 31. Mai 2013) | 1 Zeile Created directory for version 0.8.0. ------------------------------------------------------------------------ r389214 | pterjan | 2013-01-17 22:30:27 +0100 (Do, 17. Jan 2013) | 1 Zeile SILENT Oops. ------------------------------------------------------------------------ r389213 | pterjan | 2013-01-17 22:29:26 +0100 (Do, 17. Jan 2013) | 1 Zeile SILENT Move a few packages to obsolete... actually all of cauldron ------------------------------------------------------------------------ r350611 | schedbot | 2013-01-11 22:04:40 +0100 (Fr, 11. Jan 2013) | 6 Zeilen %repsys markrelease version: 0.6.0 release: 3.mga3 revision: 350470 Copying 0.6.0-3.mga3 to releases/ directory. ------------------------------------------------------------------------ r323158 | schedbot | 2012-11-29 21:53:34 +0100 (Do, 29. Nov 2012) | 6 Zeilen %repsys markrelease version: 0.6.0 release: 2.mga3 revision: 323155 Copying 0.6.0-2.mga3 to releases/ directory. ------------------------------------------------------------------------ r197442 | schedbot | 2012-01-17 16:49:10 +0100 (Di, 17. Jan 2012) | 6 Zeilen %repsys markrelease version: 0.6.0 release: 1.mga2 revision: 197432 Copying 0.6.0-1.mga2 to releases/ directory. ------------------------------------------------------------------------ r197439 | schedbot | 2012-01-17 16:49:06 +0100 (Di, 17. Jan 2012) | 1 Zeile Created directory for version 0.6.0. ------------------------------------------------------------------------ r135732 | doktor5000 | 2011-08-27 13:07:22 +0200 (Sa, 27. Aug 2011) | 1 Zeile imported package flacon ------------------------------------------------------------------------
CC: (none) => doktor5000
(In reply to Florian Hubold from comment #3) > (In reply to Jani Välimaa from comment #1) > > Try 'mgarepo rpmlog <foo>'. > > Nope that only shows changelog. Comparison: > > > doktor5000@Mageia4 ~]$ mgarepo rpmlog flacon > * Wed Mar 05 2014 david-david <david-david> 0.8.0-3.mga5 > + Revision: 600024 ^^^^^^ So the rpmlog output actually does show SVN revision numbers, the same ones that the svn command shows. I guess that should be sufficient.
Assignee: boklm => bugsquad
Severity: normal => enhancement
@Florian Do you confirm that this is not the same as: mgarepo log flacon ?
CC: (none) => yves.brungard_mageia
(In reply to papoteur from comment #5) > Do you confirm that this is not the same as: > mgarepo log flacon I confirm, it is not the same. mgarepo log and rpmlog only show the changelog, and I'd like to see the log for the /releases branch. The difference is pretty easy: mgarepo log shows: svn log svn+ssh://svn.mageia.org/svn/packages/cauldron/${packagename}/current What I'd like to see: svn log svn+ssh://svn.mageia.org/svn/packages/cauldron/${packagename}/releases Although I've rarely used that since then, so I'm not sure if it's necessary to invest time in that. I have my bash functions for queries in case I need them. There are other things in mgarepo that are actual bugs and those are more important I think ...
commit 82844dbd73543888c7e30389481c3074c1bd6c54 Author: Papoteur <papoteur@...> Date: Tue Dec 22 22:19:26 2015 +0100 add -s option for log command to get releases log (enhancement mga#12948). --- Commit Link: http://gitweb.mageia.org/software/build-system/mgarepo/commit/?id=82844dbd73543888c7e30389481c3074c1bd6c54
Confirmed working fine, thanks a lot Yves :) I've taken the freedom to bump the mgarepo version number, and to tag it as 1.11.6 and submitted it to cauldron. Please tell me if I've done something wrong. Fixed with mgarepo-1.11.6-1.mga6
Status: NEW => RESOLVEDResolution: (none) => FIXED