bugGNU roff - Bugs: bug #52462, [hdtbl] support reproducible...

 
 

bug #52462: [hdtbl] support reproducible builds by seeding package's RNG

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 20 Nov 2017 02:34:29 AM UTC
   
 
Category:  Macro - others/general Severity:  1 - Wish
Item Group:  Feature change Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.22.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 05 Mar 2022 10:44:39 PM UTC, comment #1: 


commit da6ac443f21ef09d90b40d2e8215955c916f396a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sun Nov 19 22:19:52 2017 -0500

    contrib/hdtbl/examples/*.roff: Seed RNG.

    Support reproducible builds by seeding hdtbl's random number generator
    (in contrib/hdtbl/examples/common.roff).

    When A/Bing roff documents after a build to see what I broke with my
    changes, I always have to ignore the numerous color changes caused by
    contrib/hdtbl/examples/common.roff seeding its random number generator
    with the current date/time and process ID.

    Zeroes turned out to be bad seeds; the tables didn't have much in the
    way of color gradients.

    Fix issue https://savannah.gnu.org/bugs/?52462.

    Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>


G. Branden Robinson <gbranden>
Group administrator
Mon 20 Nov 2017 02:34:29 AM UTC, original submission:  

When A/Bing roff documents after a build to see what I broke with my changes, I always have to ignore the numerous color changes caused by contrib/hdtbl/examples/common.roff seeding its random number generator with the current date/time and process ID.

Fortunately, the same file offers a seeding function.

Change the examples to seed the RNG, and explain why in a comment.

G. Branden Robinson <gbranden>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-05 gbranden SummarySupport reproducible builds by seeding hdtbl's RNG [hdtbl] support reproducible builds by seeding package's RNG
    2018-06-18 gbranden Open/ClosedOpen Closed
        Planned ReleaseNone 1.22.4
    2017-11-20 gbranden StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code