Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jcs/openbsd-commitid

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###OpenBSD commitid generator

A work in progress to assign CVS provenance-style commitid identifiers to all revisions of all files in OpenBSD's CVS trees.

####Usage

Paths used here are hard-coded in openbsd-commitid.rb.

  1. Download pristine sources to /var/cvs:

    `$ cvsync`
    
  2. Duplicate just-downloaded tree to /var/cvs-commitid, since these files will get modified:

    `$ rsync -a --delete /var/cvs/. /var/cvs-commitid/.`
    
  3. Run this script:

    `$ ruby openbsd-commitid.rb`
    

NOTE: This script relies on recently added changes to OpenBSD's rlog and cvs tools:

  • cvs admin -C to set a revision's commitid
  • rlog -E and rlog -S to control the revision separators in rlog output, since the default line of dashes appears in old commit messages

For details of how this script works, read openbsd-commitid.rb.

About

script to retroactively add commitids to past openbsd commits

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.