[Build-common-hackers] Bug#627968: Bug#627968: Bug#627968: Bug#627968: Commenting the Package stanza in the control file

Jonas Smedegaard dr at jones.dk
Tue Jun 14 10:19:15 UTC 2011


On 11-06-14 at 10:24am, IOhannes m zmoelnig wrote:
> ah, it seems like the documentation is unclear about which variables 
> are writeable and which are read-only.
> 
> e.g. cdbs guarantees you, that DEB_VERSION is set to an apropriate 
> value (presumably by reading debian/changelog), but you (as the user) 
> cannot override the "full Debian version" in debian/rules file (and 
> thus provide conflicting information in debian/rules and 
> debian/changelog)
> 
> the same goes for DEB_*PACKAGES: debian/control is the canonical 
> source for which packages to build, and DEB_*PACKAGES parses the file 
> for you and gives you that information in a nice variable for you to 
> _read_ the values from, and not to change the values.
> 
> i'd suggest to make a distinction between "read-write" and "readonly" 
> variables in the documentation, and replace "use" by "read" where 
> appropriate.


Thanks for the analysis and suggestion.

There is actually already a note about read-write vs. readonly on TODO.

Suggestions on a smoother transition than bumping epoch is much 
appreciated.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110614/15397da5/attachment-0001.pgp>


More information about the Build-common-hackers mailing list