Bug#845297: Migration to Salsa

Alex Muntada <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <20180429114912.7elfz4txvgjqydn6__16460.0279451863$1525002559$gmane$org@xps>
Hi Steve,

> I'm thinking of taking some vacation (a week or so) from my day
> job during May to get stuck in here. When are other people
> available?

I'm attending a conference from May 8 to 10, so I guess I'll be
more available than usual in working hours the whole week.

> What can I help with? I'm OK-ish in perl, so I'm thinking of
> looking at the translation workflow stuff, unless that's
> already in hand.

Laura explained the translation workflow to me, and I thought
that we wouldn't need to keep track of current CVS revisions
because using the last commit id from a file and checking if a
commit id is ancestor to another should be enough:

  $ git log -1 --oneline english/license.wml
  8e8136309fa use https for the link to www.spi-inc.org
  $ git log -1 --oneline catalan/license.wml
  8e8136309fa use https for the link to www.spi-inc.org
  $ git merge-base --is-ancestor 8e8136309fa 8e8136309fa
  $ echo $?
  0

However, I didn't take into account that sometimes there are
changes applied to several files at the same time that have
nothing to do with translations (as showed in the example above).

Therefore, it seems that we'll need to translate CVS revisions to
commit IDs at least once after the repository has been migrated
finally to git and before any translation is performed.

Since we can't be sure that people translating will stop during
the migration, maybe we can add a kill-switch in the scripts so
we can enable it before migrating and removing it to enable the
translation work after everything is setup correctly in git.

Something like this makes sense?

  1. People translate on CVS.
  2. Add a kill-switch to translations scripts.
  3. Let people translate on CVS until migration date.
  4. Enable kill-switch so people cannot translate.
  5. Migrate repo to git.
  6. Setup new workflow.
  7. Make changes to translations docs.
  8. Remove kill-switch.
  9. Let people translate on git.

Steps 5-7 should take the shortest time possible to avoid impact,
of course.

The kill-switch should be very easy to implement, e.g.:

  my $kill_switch = 0;
  die "Sorry! webwml migration in progress. Check the wiki.\n"
      if $kill_switch;

Since I'm not very familiar with the translation workflow yet,
I'd like to work on the Perl scripts that will deal with the
files in git, etc. But I'm fine doing something else if someone
prefers to do that.

Cheers!
Alex
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEaUBwKsbetWW2SKTt466XjoNOXn4FAlrlsTEACgkQ466XjoNO
Xn5xTg/+P/2zXRgXjlXWrXZNw17nTWY2JEobw6Mm4g8Ur4cAXolSFJqeM14Lxj5/
gkENbdtlCTLKrKLTQedeURBodTATJrPOa2Ta8XkYVa4QdqKt77zmup5RtbQYVkdB
MjDOMciyV+Z8WLRxqa53k1SvwOWZ019zZKaIzU6j+EU22o1meKrw8XnbL/7G2Ai1
mhtEMIwuOOzoa1jgxaGU0ThrSUPKYcS2JB1bhyeznreWJfQzzMJaciZA8GDYnEJC
C3KaRKB9cmhr9YMtbjljE2VpcN70nbBjK8oZGGyKzIp9Moh3idiJrjywTrd9Jp/M
4+TWXzNsTJu3AY4/0Ftw6TSkH+dKrHMHC/niA8c/LsO20LybQW5AlfKXgDA6kJEp
SKmOW49Fq+QA7THcNq8kR4HbvvFidvgD2vdu/7EO6Un1BdHIcLTxrCZtJBWHMKit
ERQ0TJZ0g1Cekp3wx4q/bdU1ewFBgeCrKVQoA+0vb60daThojjam0TMiTi+cu8R+
XIQ+qZVQd+elkYLvjxu6Ff5yHVT6qe95Bwm0xN4eAqqqnFGphzL9lsL0sVBEd8wr
J82rsitLfxBYSFPj/mYxHDOvG2yi9y4h9xgAtLo61s3BX1LzFY7qRO9rEMKHMvX3
jhbEjS1Krxb99w67ArGK0Av4c6gqM4tB9OnUU5G6q9DFQ5v1rzg=
=6aSg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.