Re: [d-i manual] copyright declaration

2015-03-26 Thread Holger Wansing
Hi,

Cyril Brulebois k...@debian.org wrote:
 Holger Wansing li...@wansing-online.de (2015-03-22):
  is there a reason why the year for copyright declaration should not be
  converted into an entity?
 
 Your change looks like a good idea to me.

This has already been committed. Thanks


Holger

-- 

Created with Sylpheed 3.2.0 under
D E B I A N   L I N U X   7 . 0   W H E E Z Y !

Registered Linux User #311290 - https://linuxcounter.net/



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150326114428.4c9ac1f3514453cc5737b...@wansing-online.de



Re: [d-i manual] copyright declaration

2015-03-23 Thread Hendrik Boom
On Sun, Mar 22, 2015 at 04:51:11PM +, peter green wrote:
 On 22/03/15 13:36, Holger Wansing wrote:
 Hi,
 
 is there a reason why the year for copyright declaration should not be
 converted into an entity?
 Would ease the repeating changing.
 
 Patch attached, works for both xml and po based translations.
 Correct me if I'm wrong here but shouldn't the copyright year only
 be updated when there is an actual change?

Yes.  I believe the copyright year is supposed to be the year of first 
publication.  Which is why books updated frequently usually have 
multiple copyright years, one for each year new stuff got added.  
You get a notice like copyright 1968, 1979, 1997, 2014.

-- hendrik


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150323144349.ga22...@topoi.pooq.com



Re: [d-i manual] copyright declaration

2015-03-23 Thread Hendrik Boom
On Mon, Mar 23, 2015 at 10:43:49AM -0400, Hendrik Boom wrote:
 On Sun, Mar 22, 2015 at 04:51:11PM +, peter green wrote:
  On 22/03/15 13:36, Holger Wansing wrote:
  Hi,
  
  is there a reason why the year for copyright declaration should not be
  converted into an entity?
  Would ease the repeating changing.
  
  Patch attached, works for both xml and po based translations.
  Correct me if I'm wrong here but shouldn't the copyright year only
  be updated when there is an actual change?
 
 Yes.  I believe the copyright year is supposed to be the year of first 
 publication.  Which is why books updated frequently usually have 
 multiple copyright years, one for each year new stuff got added.  
 You get a notice like copyright 1968, 1979, 1997, 2014.

It might be possible to automate getting some of this information from 
revision control.

-- hendrik


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150323144532.gb22...@topoi.pooq.com



Re: [d-i manual] copyright declaration

2015-03-23 Thread Cyril Brulebois
Holger Wansing li...@wansing-online.de (2015-03-22):
 is there a reason why the year for copyright declaration should not be
 converted into an entity?

Your change looks like a good idea to me.

Mraw,
KiBi.


signature.asc
Description: Digital signature


[d-i manual] copyright declaration

2015-03-22 Thread Holger Wansing
Hi,

is there a reason why the year for copyright declaration should not be
converted into an entity?
Would ease the repeating changing.

Patch attached, works for both xml and po based translations.


Holger

-- 

Created with Sylpheed 3.2.0 under
D E B I A N   L I N U X   7 . 0   W H E E Z Y !

Registered Linux User #311290 - https://linuxcounter.net/

Index: de/bookinfo.xml
===
--- de/bookinfo.xml	(Revision 69686)
+++ de/bookinfo.xml	(Arbeitskopie)
@@ -49,7 +49,7 @@
 /abstract
 
 copyright
-year2004 ndash; 2015/year
+ year2004 ndash; current-year;/year
  holderDas Debian-Installer-Team/holder
 /copyright
 
Index: eu/bookinfo.xml
===
--- eu/bookinfo.xml	(Revision 69686)
+++ eu/bookinfo.xml	(Arbeitskopie)
@@ -40,7 +40,7 @@
 /abstract
 
 copyright
- year2004 ndash; 2015
+ year2004 ndash; current-year;
  trademark class=copyright
  /trademark
  /year
Index: it/bookinfo.xml
===
--- it/bookinfo.xml	(Revision 69686)
+++ it/bookinfo.xml	(Arbeitskopie)
@@ -96,7 +96,7 @@
 /abstract
 
 copyright
- year2004 ndash; 2015/year
+ year2004 ndash; current-year;/year
  holderDebian Installer team/holder
 /copyright
 
Index: build/entities/common.ent
===
--- build/entities/common.ent	(Revision 69686)
+++ build/entities/common.ent	(Arbeitskopie)
@@ -2,6 +2,10 @@
 !-- These entries should be language independent.  --
 !-- The *first* definition of an ENTITY wins.  --
 
+!-- current year (to be used for copyright declaration). --
+!-- When changing this, also change in debian/copyright file)! --
+!ENTITY current-year 2015
+
 !-- short name to use for Debian --
 !ENTITY debian Debian
 
Index: en/bookinfo.xml
===
--- en/bookinfo.xml	(Revision 69686)
+++ en/bookinfo.xml	(Arbeitskopie)
@@ -48,7 +48,7 @@
 /abstract
 
 copyright
- year2004 ndash; 2015/year
+ year2004 ndash; current-year;/year
  holderthe Debian Installer team/holder
 /copyright
 
Index: ca/bookinfo.xml
===
--- ca/bookinfo.xml	(Revision 69686)
+++ ca/bookinfo.xml	(Arbeitskopie)
@@ -50,7 +50,7 @@
 /abstract
 
 copyright
- year2004 ndash; 2015/year
+ year2004 ndash; current-year;/year
  holderl'equip de l'instal·lador de Debian/holder
 /copyright
 
Index: cs/bookinfo.xml
===
--- cs/bookinfo.xml	(Revision 69686)
+++ cs/bookinfo.xml	(Arbeitskopie)
@@ -37,7 +37,7 @@
 /abstract
 
 copyright
- year2004 ndash; 2015/year
+ year2004 ndash; current-year;/year
  holdertým okolo instalačního programu Debianu/holder
 /copyright
 
Index: pt_BR/bookinfo.xml
===
--- pt_BR/bookinfo.xml	(Revision 69686)
+++ pt_BR/bookinfo.xml	(Arbeitskopie)
@@ -57,7 +57,7 @@
 /abstract
 
 copyright
- year2004 ndash; 2015/year
+ year2004 ndash; current-year;/year
  holdero time do Instalador Debian (the Debian Installer team)/holder
 /copyright
 


Re: [d-i manual] copyright declaration

2015-03-22 Thread peter green

On 22/03/15 13:36, Holger Wansing wrote:

Hi,

is there a reason why the year for copyright declaration should not be
converted into an entity?
Would ease the repeating changing.

Patch attached, works for both xml and po based translations.
   
Correct me if I'm wrong here but shouldn't the copyright year only be 
updated when there is an actual change?



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/550ef2ff.4060...@p10link.net



Re: [d-i manual] copyright declaration

2015-03-22 Thread linux
Hi,

Am So. Mär. 22 17:51:11 2015 GMT+0100 schrieb peter green:
 On 22/03/15 13:36, Holger Wansing wrote:
  Hi,
 
  is there a reason why the year for copyright declaration should not be
  converted into an entity?
  Would ease the repeating changing.
 
  Patch attached, works for both xml and po based translations.
 
 Correct me if I'm wrong here but shouldn't the copyright year only be 
 updated when there is an actual change?

There will rarely be a complete year without any changes...
But if there is such a year to happen, the changing of the entity
definition could be omitted.
The setting of the entity content (= changing it) will still be a manual 
process, no automatism. 


Holger 

-- 
Sent from my Jolla http://jolla.com/, powered by Sailfish OS