sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Flavien Bridault <vlaaad AT sourcemage.org>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] UPDATED ready for removal?
- Date: Tue, 15 Aug 2006 11:11:41 +0200
Le mardi 15 août 2006 à 11:06 +0300, Juuso Alasuutari a écrit :
> Alright, I've done this in test (e857822318d954c501e8d2ac072b6d4f2569098c)
> and
> z-rejected (eb18c8ccca873e27d0839f69c4dacf720d2fd866).
>
> Here's the script I used (without hardcoded name & email of course). I urge
> the maintainers of other grimoires to make use of it. Also it will come in
> handy the next time we do this kind of cleaning. (Run it in the grimoire
> root
> directory. You'll have to commit && push yourself, and please check the
> diff
> thoroughly before doing anything final.)
>
> ----5kr1p7 574r7----
> #!/bin/bash
>
> NAME="First Last"
> EMAIL="email AT addre.ss"
>
> FILES="$(grep -lr "^\ *PATCHLEVEL=[0-9][0-9]*\ *$" ./ | grep DETAILS)"
> for i in $FILES; do
> if grep -qlr "^\ *UPDATED=[0-9][0-9]*\ *$" "$i"; then
> sed -i "/^\ *UPDATED=[0-9][0-9]*\ *$/d" "$i"
Is it really necessary to explicit the digits and the spaces ? In my own
upgrade script, I remove this line with the following:
sed -i '/UPDATED=/d' DETAILS
> sed -i "1i$(date +%Y-%m-%d) $NAME <$EMAIL>\n\t* DETAILS: \
> [automated] Removed UPDATED (deprecated in favor of \n\t PATCHLEVEL).\n" \
> "${i/\/DETAILS//HISTORY}"
> fi
> done
> ----5kr1p7 3nd----
>
> On Monday 14 August 2006 23:36, Arwed von Merkatz wrote:
> > On Mon, Aug 14, 2006 at 11:27:17PM +0300, Juuso Alasuutari wrote:
> > > On Monday 14 August 2006 23:13, Arwed von Merkatz wrote:
> > > [snip]
> > >
> > > > I think removing UPDATED whenever a spell is updated or gets a new
> > > > PATCHLEVEL/SECURITY_PATCH is the safer solution, even if it'll take
> > > > some time.
> > >
> > > Removing UPDATED from those spells that already have PATCHLEVEL is
> > > considered safe, then? There are 90 of these in test at the moment.
> >
> > That should be ok.
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
--
Flavien Bridault
Disk, Graphics, Graphics-libs sections Guru
Source Mage GNU/Linux - http://www.sourcemage.org
irc: vlaaad
jabber: vlaaad AT amessage.be
Attachment:
signature.asc
Description: Ceci est une partie de message numériquement signée
-
[SM-Discuss] UPDATED ready for removal?,
Juuso Alasuutari, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Flavien Bridault, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Arwed von Merkatz, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Juuso Alasuutari, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Arwed von Merkatz, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Juuso Alasuutari, 08/15/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Flavien Bridault, 08/15/2006
- Re: [SM-Discuss] UPDATED ready for removal?, Juuso Alasuutari, 08/15/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Flavien Bridault, 08/15/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Juuso Alasuutari, 08/15/2006
- Re: [SM-Discuss] UPDATED ready for removal?, Eric Sandall, 08/15/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Arwed von Merkatz, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Juuso Alasuutari, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Arwed von Merkatz, 08/14/2006
-
Re: [SM-Discuss] UPDATED ready for removal?,
Flavien Bridault, 08/14/2006
Archive powered by MHonArc 2.6.24.