Bug 257854

Summary: [NEW PORT] devel/reposurgeon: Repository surgeon
Product: Ports & Packages Reporter: Timothy Beyer <beyert>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: beyert, grahamperrin, lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
devel_reposurgeon.shar none

Description Timothy Beyer 2021-08-15 06:59:18 UTC
Created attachment 227211 [details]
devel_reposurgeon.shar

(my apologies, I had a version of this port ready last year, but forgot to submit a PR, so this has been updated from version 4.24 to 4.28, accordingly)

reposurgeon enables risky operations that version-control systems don't want to
let you do, such as (a) editing past comments and metadata, (b) excising
commits, (c) coalescing commits, and (d) removing files and subtrees from repo
history. The original motivation for reposurgeon was to clean up artifacts
created by repository conversions.

reposurgeon is also useful for scripting very high-quality conversions from
Subversion.  It is better than git-svn at tag lifting, automatically cleaning
up cvs2svn conversion artifacts, dealing with nonstandard repository layouts,
recognizing branch merges, handling mixed-branch commits, and generally at
coping with Subversion's many odd corner cases.  Normally Subversion repos
should be analyzed at a rate of upwards of ten thousand commits per minute,
though that rate can fall significantly on extremely large repositories.

File is attached (shar archive)
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2022-02-05 05:59:59 UTC
This port downloads files at the build phase which is not allowed in the pkg build. Can it converted to `USES= go:modules` ?

Ref:
https://docs.freebsd.org/en/books/porters-handbook/special/index.html#using-go
Comment 2 Timothy Beyer 2022-02-07 06:40:58 UTC
Yes, I can definitely update the patch to USES=go:modules, thanks