Bug 257854 - [NEW PORT] devel/reposurgeon: Repository surgeon
Summary: [NEW PORT] devel/reposurgeon: Repository surgeon
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-15 06:59 UTC by Timothy Beyer
Modified: 2022-02-07 06:40 UTC (History)
3 users (show)

See Also:


Attachments
devel_reposurgeon.shar (4.46 KB, text/plain)
2021-08-15 06:59 UTC, Timothy Beyer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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