www-repository mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: [repo] /www/people.apache.org/repo/m2-ibiblio-rsync-repository/
Date Wed, 28 Mar 2007 16:53:02 GMT
Hi Oleg,

I've found the attached script to be useful. It's not as user- 
friendly as the plugin, but it is easy to use. It generates the  
required md5 and asc signatures. You do need to type your signing  
password for each file but for me that's not a big deal, and easier  
than doing it all manually...

Craig

#!/bin/sh

# tools
GPG_CMD=gpg
GPG_OPTS="--armor --detach-sign"
MD5_CMD=md5
MD5_OPTS=-q

# Verify that there is a directory parameter
if [ $# -eq 0 ]
then
     echo Missing parameter.
     echo Usage: \"sign-directory directory-name\"
     exit 1
fi
if [ -d $1 ]
then
     echo Signing files in directory \"$1\".
else
     echo \"$1\" is not a directory.
     echo Usage: \"sign-directory directory-name\"
     exit 1
fi

# Iterate the directory looking for instances of .pom, .jar, .gz,  
and .zip
poms=`find $1 -name "*.pom"`
echo Found .poms $poms
jars=`find $1 -name "*.jar"`
echo Found .jars $jars
gzs=`find $1 -name "*.gz"`
echo Found .gzs $gzs
zips=`find $1 -name "*.zip"`
echo Found .zips $zips

# For each such file, sign it and attach an md5
for f in $gzs $poms $jars $zips
do
     echo Signing file $f
     ${GPG_CMD} ${GPG_OPTS} $f
     ${MD5_CMD} ${MD5_OPTS} $f > $f.md5
done


On Mar 28, 2007, at 9:16 AM, Oleg Kalnichevski wrote:

> On Wed, 2007-03-28 at 09:02 -0700, Carlos Sanchez wrote:
>> please add PGP signatures, it's apache policy to sign all releases
>>
>> take a look at the latest maven parent pom on how to use the gpg
>> plugin for automatic signing
>>
>> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/ 
>> maven-parent-5.pom
>>
>
> Hi Carlos,
>
> Can you give me a couple of days to take care of that? I am afraid  
> I'll
> have to add signatures manually for this release, which may take a
> while. I'll make sure we use the gpg plugin as of the next release.
>
> Oleg
>
>>
>> On 28 Mar 2007 08:16:24 -0000, bayard@apache.org  
>> <bayard@apache.org> wrote:
>>> Repository changed
>>> ==================
>>>
>>> Repository: /www/people.apache.org/repo/m2-ibiblio-rsync-repository/
>>>
>>> Added
>>> -----
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4/ 
>>> jakarta-httpcore-4.0-alpha4.jar
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4/ 
>>> jakarta-httpcore-4.0-alpha4.jar.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4/ 
>>> jakarta-httpcore-4.0-alpha4.jar.sha1
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4/ 
>>> jakarta-httpcore-4.0-alpha4.pom
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4/ 
>>> jakarta-httpcore-4.0-alpha4.pom.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore/4.0-alpha4/ 
>>> jakarta-httpcore-4.0-alpha4.pom.sha1
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4/ 
>>> httpcore-4.0-alpha4.pom
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4/ 
>>> httpcore-4.0-alpha4.pom.md5
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4/ 
>>> httpcore-4.0-alpha4.pom.sha1
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4/ 
>>> httpcore-4.0-alpha4-site.xml
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4/ 
>>> httpcore-4.0-alpha4-site.xml.md5
>>> [olegk] org/apache/httpcomponents/httpcore/4.0-alpha4/ 
>>> httpcore-4.0-alpha4-site.xml.sha1
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4/ 
>>> jakarta-httpcore-nio-4.0-alpha4.jar
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4/ 
>>> jakarta-httpcore-nio-4.0-alpha4.jar.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4/ 
>>> jakarta-httpcore-nio-4.0-alpha4.jar.sha1
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4/ 
>>> jakarta-httpcore-nio-4.0-alpha4.pom
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4/ 
>>> jakarta-httpcore-nio-4.0-alpha4.pom.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-nio/4.0-alpha4/ 
>>> jakarta-httpcore-nio-4.0-alpha4.pom.sha1
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0-alpha4
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0- 
>>> alpha4/jakarta-httpcore-niossl-4.0-alpha4.jar
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0- 
>>> alpha4/jakarta-httpcore-niossl-4.0-alpha4.jar.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0- 
>>> alpha4/jakarta-httpcore-niossl-4.0-alpha4.jar.sha1
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0- 
>>> alpha4/jakarta-httpcore-niossl-4.0-alpha4.pom
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0- 
>>> alpha4/jakarta-httpcore-niossl-4.0-alpha4.pom.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/4.0- 
>>> alpha4/jakarta-httpcore-niossl-4.0-alpha4.pom.sha1
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/maven- 
>>> metadata.xml
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/maven- 
>>> metadata.xml.md5
>>> [olegk] org/apache/httpcomponents/jakarta-httpcore-niossl/maven- 
>>> metadata.xml.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-javadoc.jar.asc.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.jar.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.jar.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.pom
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.pom.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.pom.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-sources.jar
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-sources.jar.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-javadoc.jar
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-sources.jar.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-javadoc.jar.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-javadoc.jar.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.jar.asc
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.jar.asc.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.jar.asc.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.pom.asc
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.jar
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.pom.asc.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4.pom.asc.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-sources.jar.asc
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-sources.jar.asc.md5
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-sources.jar.asc.sha1
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-javadoc.jar.asc
>>> [brianf] org/apache/maven/plugins/maven-dependency-plugin/2.0- 
>>> alpha-4/maven-dependency-plugin-2.0-alpha-4-javadoc.jar.asc.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-1/maven-metadata.xml
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-1/maven-metadata.xml.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-1/maven-metadata.xml.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-javadoc.jar.asc.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.jar.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.jar.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.pom
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.pom.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.pom.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-sources.jar
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-sources.jar.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-sources.jar.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-javadoc.jar
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-javadoc.jar.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-javadoc.jar.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.jar.asc
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.jar.asc.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.jar.asc.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.pom.asc
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.pom.asc.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.pom.asc.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-sources.jar.asc
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-sources.jar.asc.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-sources.jar.asc.sha1
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-javadoc.jar.asc
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2-javadoc.jar.asc.md5
>>> [brianf] org/apache/maven/shared/maven-dependency-analyzer/1.0- 
>>> alpha-2/maven-dependency-analyzer-1.0-alpha-2.jar
>>>
>>> Removed
>>> -------
>>>
>>
>>
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message