From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.3/8.13.3) with ESMTP id j2C3v7b0028952 for ; Sat, 12 Mar 2005 03:57:08 GMT Received: from outbound3.mail.tds.net ([216.170.230.93]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1D9xkR-0001JJ-2p for gentoo-dev@robin.gentoo.org; Sat, 12 Mar 2005 03:57:07 +0000 Received: from piment.flatmonk.org (h69-21-248-243.69-21.unk.tds.net [69.21.248.243]) by outbound3.mail.tds.net (8.12.10/8.12.2) with ESMTP id j2C3v5mM014997 for ; Fri, 11 Mar 2005 21:57:06 -0600 (CST) Received: by piment.flatmonk.org (Postfix, from userid 10208) id 1F081113EAE; Fri, 11 Mar 2005 22:57:05 -0500 (EST) Date: Fri, 11 Mar 2005 22:56:13 -0500 X-OfflineIMAP-2102027089-70696d656e7473656e64-494e424f582e4f7574626f78: 1110599824-0608461176689-v4.0.8 From: Aron Griffis To: gentoo-dev@robin.gentoo.org Subject: Re: [gentoo-dev] Planet Gentoo released Message-ID: <20050312035613.GC20707@time.flatmonk.org> References: <423068E0.2050301@gentoo.org> <1110534679.8357.2.camel@sys947.dtic.mil> <4231F7B5.5010402@gentoo.org> <200503111538.35371.vapier@gentoo.org> Precedence: bulk List-Post: , , List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-To: gentoo-dev@gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JWEK1jqKZ6MHAcjA" Content-Disposition: inline In-Reply-To: <200503111538.35371.vapier@gentoo.org> User-Agent: Mutt/1.5.8i X-Archives-Salt: a3f36b66-3495-4db7-b857-be2a9921e07c X-Archives-Hash: 3066a264cf2c44b1b98f96c5cc3a10d6 --JWEK1jqKZ6MHAcjA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Vapier wrote: [Fri Mar 11 2005, 03:38:35PM EST] > or committing something to cvs and wishing there was a link you could pul= l up=20 > in viewcvs to give to users when closing bugs rather than waiting around = for=20 > 30+ minutes for the changes to appear in viewcvs $ vc keychain* http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-misc/keychain/keychain-2.5.1.= ebuild?rev=3D1.3&content-type=3Dtext/vnd.viewcvs-markup http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-misc/keychain/keychain-2.5.1.= ebuild?r1=3D1.2&r2=3D1.3 http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-misc/keychain/keychain-2.5.3.= 1.ebuild?rev=3D1.1&content-type=3Dtext/vnd.viewcvs-markup # vc: generate viewcvs urls from the current directory vc() { declare f rev cwd orevn declare -a orev [[ -n $* ]] || set -- * cwd=3D${PWD#*/portage} cwd=3D${cwd#*/gentoo-x86} cwd=3D${cwd#/} for f in "$@"; do [[ -f "$f" ]] || continue rev=3D$(egrep -m1 -o '\$(Header|Id):[^$]*\$' "$f") [[ -n $rev ]] && rev=3D$(echo "$rev" | cut -d' ' -f3) [[ -n $rev ]] || rev=3D$(cvs log "$f" 2>/dev/null | awk '/^head:/{print= $2}') [[ -n $rev ]] || continue # oh well printf "%s/%s/%s?rev=3D%s&content-type=3Dtext/vnd.viewcvs-markup\n" \ "http://www.gentoo.org/cgi-bin/viewcvs.cgi" "$cwd" "$f" "$rev" if [[ $rev !=3D *.1 ]]; then orev=3D( $(sed 's/\(.*\.\)\(.*\)/\1 \2/g' <<<"$rev") ) (( orev[1]-- )) printf "%s/%s/%s?r1=3D%s&r2=3D%s\n" "http://www.gentoo.org/cgi-bin/vi= ewcvs.cgi" \ "$cwd" "$f" "${orev[0]}${orev[1]}" "$rev" fi done } -- Aron Griffis Gentoo Linux Developer --JWEK1jqKZ6MHAcjA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCMmhdJrHF4yAQTrARAgzIAJwNwyhXuTacCDAiyyYXqaxB9bN0jwCg0hoI gSGFkcnR7hn6+lq8zYM5EsQ= =TsjZ -----END PGP SIGNATURE----- --JWEK1jqKZ6MHAcjA-- -- gentoo-dev@gentoo.org mailing list