2017.11.21 13:15 "[Tiff] Write a tif with JPG compression", by Emmanuel Cosnard

2017.11.22 23:12 "Re: [Tiff] Write a tif with JPG compression", by Roger Leigh

On 22/11/17 18:27, Roger Leigh wrote:

We already have an unofficial git mirror. Making gitlab an official source repository can be done by re-running the CVS conversion with a full set of username->email mappings (which I posted a few months back).

  Should be doable in a few hours, should this be generally acceptable.

I can set it up as a mirror in the interim for people to have a look at, but it won't be usable for opening merge requests until CVS is abandoned as the canonical source repository and the mirroring is turned off.

I have used the two attached files to import the CVS history into git. I've pushed this here:

   https://gitlab.com/libtiff/libtiff

It will need a bit of tweaking to fix some minor details like missing execute permissions which weren't present in CVS for some files. But overall is this OK in terms of the username→email mappings and the history as a whole, including branches and release tags. It seems to have picked up Bob's mugshot automatically! It should be pretty similar to https://github.com/vadz/libtiff except that I've fixed up the username→email mappings for the entire history (assuming the email addresses are OK). I can rerun with an updated author list if needed; it takes about an hour to pull down the history.

I'm looking at adding and fixing the CI which was in use for vadz/libtiff. Example here: https://gitlab.com/rleigh/libtiff/pipelines/14265885

Once everyone is happy with the state of this new git repo, we can open it up for merge requests and general use. For now, you can fork it, clone it, and generally use it as a read-only mirror for testing. If people would like to clone it and do some test builds, it would be great to know if it's all working for you.

Hope this is generally acceptable in concept, and if there are any comments or criticisms please do follow up with them.

Regards,
Roger

dron=Andrey Kiselev <dron@ak4719.spb.edu> warmerda=Frank Warmerdam <warmerdam@pobox.com> fwarmerdam=Frank Warmerdam <warmerdam@pobox.com> bfriesen=Bob Friesenhahn <bfriesen@simple.dallas.tx.us> erouault=Even Rouault <even.rouault@spatialys.com> joris=Joris Van Damme <joris.at.lebbeke@skynet.be> faxguy=Lee Howard <faxguy@howardsilvan.com> mwelles=Mike Welles <mike@bangstate.com> tgl=Tom Lane <tgl@sss.pgh.pa.us> mike=Mike Welles <mike@onshore.com> olivier=Olivier Paquet <olivier.paquet@gmail.com> rossf=Ross Finlayson <libtiff@apexinternetsoftware.com> dbmalloc=Dwight Kelly <dbmalloc@remotesensing.org> mloskot=Mateusz Loskot <mateusz@loskot.net> morourke=Michael O'Rourke <morourke@adobe.com>

#!/bin/sh

set -e

if [! -d libtiff ]; then
  firstrun=true
fi

git cvsimport \
  -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot \
  -C libtiff \
  -r cvs \
  -o master \
  -i \
  -A authors \
  libtiff

# Add gitlab remote
if [ "$firstrun" = "true" ]; then
  ( cd libtiff && git remote add libtiff git@gitlab.com:libtiff/libtiff.git)
fi

# Push all branches to gitlab
(
  cd libtiff
  git push -u libtiff cvs/master:refs/heads/master --tags
  git push -u libtiff cvs/branch-3-9:refs/heads/branch-3.9
  git push -u libtiff cvs/mike:refs/heads/mike
)