Discussion:
Bug#901180: release notes fails to build in a clean checkout
(too old to reply)
Laura Arjona Reina
2018-06-09 20:20:01 UTC
Permalink
Package: release-notes
Severity: normal

Hello

I have cloned the release-notes repo and did "make" to build the release
notes, but I got an error (attached complete log, here an extract):

LANG=C ./transcount en ca cs >> statistics.txt
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/moreinfo.dbk' is not
a working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/issues.dbk' is not a
working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/old-stuff.dbk' is
not a working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/installing.dbk' is
not a working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/upgrading.dbk' is
not a working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/release-notes.dbk'
is not a working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/about.dbk' is not a
working copy
svn: E155007:
'/srv/www.debian.org/release-notes/release-notes/en/whats-new.dbk' is
not a working copy
Traceback (most recent call last):
File "./transcount", line 37, in <module>
if revision >= revisions[fn]:
KeyError: 'moreinfo.dbk'
Makefile:346: recipe for target 'statistics.txt' failed
make: *** [statistics.txt] Error 1

I guess the "transcount" script needs to be adapted to use git instead
of subversion.

However, if I run again "make", the build goes on and finishes correctly.

If I do "make clean" and then "make" again, I face the issue again.

Kind regards,
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
Baptiste Jammet
2018-07-28 16:40:02 UTC
Permalink
Bonjour,
Post by Laura Arjona Reina
I guess the "transcount" script needs to be adapted to use git instead
of subversion.
The attached patch works, but the statistics for ca & cs are wrong
because the svn revision tracked now don't match the actual git hash.
And ca & cs translators will need to find the git hash
corresponding to the old svn revision to know where to look back to
update the translation. This have to be done only once, but before to
keep correct stats.

Baptiste
Baptiste Jammet
2018-09-01 10:20:01 UTC
Permalink
Hello all,

It could be good to build again the release-notes.

If nobody objects, I can commit the proposed changes, and then ask -www
team to update the cron/parts/7release-notes script.
Post by Baptiste Jammet
The attached patch works, but the statistics for ca & cs are wrong
because the svn revision tracked now don't match the actual git hash.
And ca & cs translators will need to find the git hash
corresponding to the old svn revision to know where to look back to
update the translation. This have to be done only once, but before to
keep correct stats.
I'm Cc-ing the last translators for ca & cs, if they want to give some
input. But there were no update in 7 years, so these translations could
be marked as obsolete ?

Baptiste
Miroslav Kure
2018-09-04 05:00:01 UTC
Permalink
Post by Baptiste Jammet
Hello all,
Hi,
Post by Baptiste Jammet
I'm Cc-ing the last translators for ca & cs, if they want to give some
input. But there were no update in 7 years, so these translations could
be marked as obsolete ?
I believe cs translation was excluded from builds quite some years ago,
so if it got reactivated again, please disable it / mark as obsolete
as needed. AFAIK there is noone working on the translation and I do
not see this changing in the near future.
--
Miroslav Kure
Baptiste Jammet
2018-09-06 18:10:02 UTC
Permalink
Hello,
Post by Miroslav Kure
I believe cs translation was excluded from builds quite some years ago,
so if it got reactivated again, please disable it / mark as obsolete
as needed. AFAIK there is noone working on the translation and I do
not see this changing in the near future.
Thanks for your feedback.
Indeed, ca & cs translations are disabled in the Makefile.
So we just need to have a working transcount script for 1) have a
successfull build and 2) taking care of future (or reactivated) xml
translations.

As nobody disagree, I plan to push the attached change during the
week-end.

Baptiste
Héctor Orón Martínez
2018-09-06 23:40:01 UTC
Permalink
Hello
Post by Baptiste Jammet
Hello,
Post by Miroslav Kure
I believe cs translation was excluded from builds quite some years ago,
so if it got reactivated again, please disable it / mark as obsolete
as needed. AFAIK there is noone working on the translation and I do
not see this changing in the near future.
Thanks for your feedback.
Indeed, ca & cs translations are disabled in the Makefile.
So we just need to have a working transcount script for 1) have a
successfull build and 2) taking care of future (or reactivated) xml
translations.
As nobody disagree, I plan to push the attached change during the
week-end.
Sure, please go ahead! I am trying to find someone interested on doing
'ca' translation, so we might be able to reactivate it in future.

Regards
--
Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.
Debian Bug Tracking System
2018-09-09 12:10:01 UTC
Permalink
Your message dated Sun, 9 Sep 2018 13:50:02 +0200
with message-id <***@mailoo.org>
and subject line Re: Bug#901180: release notes fails to build in a clean checkout
has caused the Debian Bug report #901180,
regarding release notes fails to build in a clean checkout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
901180: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901180
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...