[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-miscfiles] proposals
From: |
Jim Meyering |
Subject: |
Re: [bug-miscfiles] proposals |
Date: |
Sat, 21 Apr 2012 15:00:35 +0200 |
Alfred M. Szmidt wrote:
> Alfred M. Szmidt wrote:
> > By the way, where is the GNU git repository available for miscfile
> > project?
> >
> > There isn't one available, someone has to create it. I'll do the
> > cvs->git conversion.
> >
> > I've created a test repo for miscfiles, I put up a tarball at
> >
> > http://planet.gnu.org/~ams/miscfiles-git.tar
>
> After a cursory examination, it looks fine:
> - you mapped all user names to Real Name <email>
> - I see some tags, so I presume all are preserved
>
> Not many tags, and not a great bunch of people who commited things so
> it was quite simple.
>
> However, do note that the tags are not signed. You may want to
> replace those simple, unsigned tags with gpg-signed ones. That
> makes it so tools like "git describe SHA" are more useful: without
> signed tags, everyone have to know/remember to use some option to
> tell it to check for unsigned tags to make it useful.
>
> I was contemplating of adding "proper" tags (miscfiles-x_y kinda deal)
> for each release of miscfiles; and rename the old tags to something
> like cvs/tag-name. What do you think?
When renaming tags (or adding new ones), I prefer to use very
short names -- easier/quicker to type -- like v1.2, etc.
Here are the recent ones in coreutils:
v8.10
v8.11
v8.12
v8.13
v8.14
v8.15
v8.16
Also, if you use this style, some gnulib-supplied tools will
be able to automate your build/release process out of the box.
> If you're interested, let me know and I'll dig up my notes. I've
> done it a few times before, and getting it right (making
> new-sig-tag date match that of each old one) was not trivial.
>
> Please do, it would be very helpful.
Here are my notes from when I converted old (unsigned)
tag names like COREUTILS-4_5_1 to new, signed ones like v4.5.1:
$ git tag|grep CORE
COREUTILS-4_5_1
COREUTILS-4_5_10
COREUTILS-4_5_11
COREUTILS-4_5_12
COREUTILS-4_5_2
COREUTILS-4_5_3
COREUTILS-4_5_4
COREUTILS-4_5_5
COREUTILS-4_5_6
COREUTILS-4_5_7
COREUTILS-4_5_8
COREUTILS-4_5_9
COREUTILS-5_0
COREUTILS-5_0_1
COREUTILS-5_0_90
COREUTILS-5_0_91
COREUTILS-5_1_0
COREUTILS-5_1_1
COREUTILS-5_1_2
COREUTILS-5_1_3
COREUTILS-5_2_0
COREUTILS-5_2_1
COREUTILS-5_3_0
COREUTILS-5_90
COREUTILS-5_91
COREUTILS-5_92
COREUTILS-6_0
COREUTILS-6_1
COREUTILS-6_2
COREUTILS-6_3
COREUTILS-6_4
COREUTILS-6_5
COREUTILS-6_6
COREUTILS-6_7
COREUTILS-6_8
COREUTILS-6_9
# Create better-named signed tags, yet with the same old date as
# the old-named tag.
for i in $(git tag -l 'COREUTILS-*'); do
v=$(echo $i|sed 's/COREUTILS-/v/;s/_/./g')
date=$(git log --pretty=%ci -1 $i)
echo $v
GIT_COMMITTER_DATE="$date" git tag -f -s -m$v $v $i
done
# Inspect, then push ...
tags=$(
for i in $(git tag -l 'COREUTILS-*'); do
printf 'tag '; echo $i|sed 's/COREUTILS-/v/;s/_/./g'
done
)
git push origin $(echo $tags)
- [bug-miscfiles] proposals, Gery, 2012/04/03
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/03
- Re: [bug-miscfiles] proposals, Gery, 2012/04/16
- Re: [bug-miscfiles] proposals, Jim Meyering, 2012/04/16
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/17
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/21
- Re: [bug-miscfiles] proposals, Jim Meyering, 2012/04/21
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/21
- Re: [bug-miscfiles] proposals,
Jim Meyering <=
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/21
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/22
- Re: [bug-miscfiles] proposals, Alfred M. Szmidt, 2012/04/24
- Re: [bug-miscfiles] proposals, Gery, 2012/04/25