First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 136048
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Schweizer <genstef@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
echangelog-svn.diff echangelog-svn.diff patch Stefan Schweizer 2006-06-08 03:29 0000 3.01 KB Details | Diff
echangelog-svn.patch hopefully a bit more agnostic patch patch Alec Warner 2006-12-08 12:34 0000 6.95 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 136048 depends on: 176337 Show dependency tree
Show dependency graph
Bug 136048 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-08 03:29 0000
Hi,

I have made a patch for echangelog to support subversion in echangelog. Would
be nice to find it in gentoolkit-dev so we can have decent changelogs in
overlays :)

------- Comment #1 From Stefan Schweizer 2006-06-08 03:29:41 0000 -------
Created an attachment (id=88661) [edit]
echangelog-svn.diff

------- Comment #2 From Alec Warner 2006-06-08 03:56:01 0000 -------
tools, give a few days (slaughtered at work at the moment) and I'll have a
patch for git and possibly mercurial along with a new gentoolkit-dev ebuild
with correct deps.

------- Comment #3 From Stefan Schweizer 2006-06-08 05:45:12 0000 -------
I have added this to the sunrise overlay so we can use a working echangelog
while we are waiting :)

------- Comment #4 From Alec Warner 2006-12-08 12:34:02 0000 -------
Created an attachment (id=103643) [edit]
hopefully a bit more agnostic patch

please please please test this ;)

------- Comment #5 From Paul Varner 2007-02-12 17:27:51 0000 -------
I need assistance with this one.  I don't have the resources or time to test
this one. So I need someone to test and let me know which patch is better
suited for inclusion.

------- Comment #6 From Stefan Schweizer 2007-02-12 17:45:29 0000 -------
http://www.gentoo-sunrise.org/svn-sunrise-commit/trunk/echangelog-tng

this one has been working perfectly for sunrise for several months now

------- Comment #7 From Krzysiek Pawlik 2007-02-12 17:59:09 0000 -------
It works fine for me - I've tested Alec's one, it needed the one change:

system("$vcs{$vcs}{add} ChangeLog > /dev/null 2>&1")

line #439

------- Comment #8 From Stefan Schweizer 2007-02-16 11:37:03 0000 -------
What is up Paul? 4 days and no reaction, seems your interest has ceased again
:/

------- Comment #9 From Paul Varner 2007-02-16 16:09:33 0000 -------
Close but not quite. I've been busy with work and sick with the flu.  I plan on
updating subversion this weekend.

------- Comment #10 From Paul Varner 2007-02-19 18:09:28 0000 -------
$ svn commit -m "Update echangelog to support Subversion and git. Bug #136048"
Sending        echangelog/echangelog
Transmitting file data .
Committed revision 348.

------- Comment #11 From Alec Warner 2007-02-19 20:51:11 0000 -------
(In reply to comment #10)
> $ svn commit -m "Update echangelog to support Subversion and git. Bug #136048"
> Sending        echangelog/echangelog
> Transmitting file data .
> Committed revision 348.

oh snap, genstef can't cut my nuts off now!

------- Comment #12 From Stefan Schweizer 2007-02-19 21:10:42 0000 -------
(In reply to comment #11)
> oh snap, genstef can't cut my nuts off now!

heh, I still can for repoman now. Is there a bug open about that one?

I dont think anyone besides me and the prefix people cares. Sunrise has its own
replacement. Hopefully we will soon have paludis/pkgcore replacements that
allow committing to svn/git.

------- Comment #13 From Paul Varner 2007-03-21 13:50:22 0000 -------
The patch is not working correctly with CVS and the gentoo-x86 tree. I received
the following when going to update gentoolkit-dev:

$ cvs update
M Manifest
A gentoolkit-dev-0.2.6.3.ebuild
A files/digest-gentoolkit-dev-0.2.6.3
$ echangelog
**
** NOTE: No non-trivial changed files found.  Normally echangelog
** should be run after all affected files have been added and/or
** modified.  Did you forget to cvs add?
**
Use of uninitialized value in concatenation (.) or string at
/usr/bin/echangelog line 326.
--- ChangeLog   2007-03-21 08:31:11.000000000 -0500
+++ ChangeLog.new       2007-03-21 08:32:39.000000000 -0500
@@ -2,6 +2,9 @@
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit-dev/ChangeLog,v 1.48
2007/01/20 16:29:14 fuzzyray Exp $

+  21 Mar 2007; Paul Varner <fuzzyray@gentoo.org> ChangeLog:
+  Revbump to add subversion support to echangelog (Bug #136048)
+
   20 Jan 2007; Paul Varner <fuzzyray@gentoo.org>
   -gentoolkit-dev-0.2.5.ebuild, -gentoolkit-dev-0.2.6.1.ebuild:
   Removed older ebuilds which install epkgmove

So I need to get this figured out before releasing.  For any developer who
wants to help, the source is available at:

svn+ssh://svn.gentoo.org/var/svnroot/gentoolkit/trunk/

------- Comment #14 From Paul Varner 2007-03-21 15:55:41 0000 -------
Nevermind on the previous comment. It was apparently a PEBKAC problem since I
re-applied the patch and it seems to be working correctly.

------- Comment #15 From Paul Varner 2007-03-21 19:15:54 0000 -------
Released in gentoolkit-dev-0.2.6.3

------- Comment #16 From Paul Varner 2007-03-25 05:34:39 0000 -------
gentoolkit-dev-0.2.6.3 removed from tree due to too much breakage caused by the
patch.  I am reverting back to the original code prior to the patch.

------- Comment #17 From Michael Cummings (RETIRED) 2007-03-26 21:54:39 0000 -------
are there any examples of the breakages? (curious :)

------- Comment #18 From Paul Varner 2007-03-26 22:22:01 0000 -------
Bug# 172017 was the big one.  Additionaly, the patch was prefixing removed
files with a comma instead of a dash.  Due to the fact that Changelogs in the
tree were getting broken, I chose to revert it, rather than keep
troubleshooting and testing.

I'm willing to put this patch back in, but we need to ensure that it is highly
tested and debugged prior to doing so.

------- Comment #19 From Stefan Schweizer 2007-04-16 09:39:52 0000 -------
can you attach your current version here please and deprecate the other
attachments?

Maybe we can then collectively work towards solving the problem.


And it would be cool if you could mask broken versions instead of bringing out
new versions with exactly the same content as in a lower version number. Saves
us all a lot of download and makes sure that the problem is not forgotten, and
that we can still emerge the version to test it. Also looked kinda as if you
wanted to drop this for good how you handled it and have no intentions to fix
or let others fix this, disappointing :/ I hope I am wrong there.

Removed the now no longer applicable inSVN keyword.

------- Comment #20 From Paul Varner 2007-04-16 20:42:53 0000 -------
(In reply to comment #19)
> can you attach your current version here please and deprecate the other
> attachments?

The version that was patched can be found at:
http://sources.gentoo.org/viewcvs.py/gentoolkit/trunk/src/echangelog/echangelog?rev=363

> Also looked kinda as if you wanted to drop this for good how you handled it
> and have no intentions to fix or let others fix this, disappointing :/
> I hope I am wrong there.

I'm confused here, my previous comment stated "I'm willing to put this patch
back in" with the caveat that we need to test it fully.

Finally, the reason it was yanked was because I was asked to yank it due the
ChangeLog breakage that it caused.

------- Comment #21 From Petteri Räty 2007-04-16 21:05:19 0000 -------
(In reply to comment #20)
> 
> Finally, the reason it was yanked was because I was asked to yank it due the
> ChangeLog breakage that it caused.
> 

The normal procedure in these cases is package.mask which was already done. Not
a version bump with the same stuff as the previous version.

------- Comment #22 From Paul Varner 2007-04-16 23:02:50 0000 -------
The version bump was mainly to fix another bug and was unrelated to this. 
However, upon re-reading my Changelog message it didn't come across that way.
So I apologize about that.

------- Comment #23 From Stefan Schweizer 2007-04-25 11:07:06 0000 -------
$ diff -u echangelog.orig echangelog.fixed
--- echangelog.orig     2007-04-25 13:05:14.000000000 +0200
+++ echangelog.fixed    2007-04-25 13:05:55.000000000 +0200
@@ -121,7 +121,7 @@
            next;
        }
         push @files, $filename;
-        ($actions{$filename} = $status) =~ tr/ARDM/+--/d;
+        ($actions{$filename} = $status) =~ tr/DARM/-+-/d;
     }
 }


That fixes the prefixed with "," bug. I wonder where you got this borken
version of the echangelog svn support ..

Looking at another issue atm, changed ebuilds are omitted :/

Please apply this patch :)

------- Comment #24 From Stefan Schweizer 2007-04-25 11:48:07 0000 -------
--- echangelog.orig     2007-04-25 13:05:14.000000000 +0200
+++ echangelog.fixed    2007-04-25 13:49:17.000000000 +0200
@@ -261,7 +261,7 @@
        # We assume GNU diff output format here.
        # git format: diff --git a/app-doc/repodoc/metadata.xml
b/app-doc/repodoc/metadata.xml
        elsif (/$vcs{$vcs}{regex}/) {
-            my ($f) = ($1);
+            my ($f) = ($2);
             # file was removed from git
            if (/^deleted file mode/) {
                    $_ = <C>; # just eat the line


Fixes the bug with modified files not being diplayed.

------- Comment #25 From Paul Varner 2007-04-25 15:21:58 0000 -------
$ svn commit -m "Re-added subversion/git support with fixes from genstef. (Bug
#136048)"
Sending        ChangeLog
Sending        src/echangelog/echangelog
Transmitting file data ..
Committed revision 395.

http://sources.gentoo.org/viewcvs.py/gentoolkit/trunk/src/echangelog/echangelog?rev=395

------- Comment #26 From Stefan Schweizer 2007-04-26 06:49:40 0000 -------
*** Bug 89827 has been marked as a duplicate of this bug. ***

------- Comment #27 From Stefan Schweizer 2007-06-04 22:34:56 0000 -------
finally unmasked and fixed, thanks

First Last Prev Next    No search results available      Search page      Enter new bug