[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762430: RFP: ricochet -- anonymous and serverless instant messaging



Control: retitle -1 RFP: ricochet-im -- anonymous and serverless instant messaging

The ricochet name is already taken.  I suspect ricochet-im is a better
name for Debian.

Here is a script to import the current upstream source releases into a
freshly created git repository, using git-import-orig --pristine-tar
to import the upstream tarball.

Is this a good way to create a git repo for the Debian packaging?

#!/bin/sh -e
versions="1.0.0 1.0.1 1.0.2 1.0.3 1.0.4"
for version in $versions ; do
  [ -e v$version.tar.gz ] || wget https://github.com/ricochet-im/ricochet/archive/v$version.tar.gz
done

mkdir ricochet-im
cd ricochet-im

git init
git remote add upstream-github https://github.com/ricochet-im/ricochet.git
git fetch upstream-github
for version in $versions ; do
  upstreamtag=$(git show v$version | awk '/^commit/ {print $2}')
  echo ricochet-im | git-import-orig --pristine-tar \
    --upstream-version=$version --upstream-vcs-tag=$upstreamtag \
    ../v$version.tar.gz
done

I'll probably upload to collab-maint unless someone else is interested
in maintaining this package in Debian.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: