[Debtags-devel] Merging tag data from the packagebrowser into svn
Enrico Zini
enrico at enricozini.org
Mon Aug 1 20:24:06 UTC 2005
Hello,
the good news is: there's a lot of input!!
the bad news is: I have 2385 packages with tags modifications to merge
into the subversion copy (!)
I did the packages starting with '3' and 'a'. Interesting, insightful,
but it requires a team.
How to do it so far:
1) Checkout the tag database:
svn co svn+ssh://svn.debian.org/svn/debtags/tagdb
2) cd tagdb
3) Get the new tag database from the packagebrowser:
wget -O- http://people.debian.org/~enrico/tags/tags-current.gz | gunzip > new
4) Make a patch:
tagcoll diff tags new > patch.orig
cp patch.orig patch.edited
5) Edit patch.edited, taking away what's not good
6) Apply the patch:
tagcoll --patch-with=patch.edited copy tags > tags1
7) Commit:
mv tags1 tags
svn commit
One can also create a patch with their hand-fixes by doing:
tagcoll --patch-with=patch.orig copy tags > tags-changed-orig
tagcoll --patch-with=patch.edited copy tags > tags-changed-edited
tagcoll diff tags-changed-orig tags-changed-edited > my-fix-to-pakagebrowser
Suggestions accepted on how to organise this.
Ciao,
Enrico
--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debtags-devel/attachments/20050801/eb04c0b0/attachment.pgp
More information about the Debtags-devel
mailing list