Baptiste Daroussin
a24b31bac2
Make check_deps behave the same as check_PRs:
...
propose to skip removing a port if anything depends on it, instead of infinite looping on "ignore the issue"
2013-03-09 23:49:02 +00:00
Eitan Adler
3152b4bd9f
Make the removal diff nicer to read by not showing the line-by-line removal and instead replace it with "FILE has been deleted"
...
Reviewed by: crees
2012-09-23 17:56:10 +00:00
Beat Gaetzi
6228337952
- Update addport and rmport to work with Subversion
...
Submitted by: crees, miwi
2012-07-15 20:57:22 +00:00
Chris Rees
dd16d151db
Take maintainership-- thanks to vd for his past work on this script
...
Approved by: vd (maintainer)
- Make the diff output work
- Use cdiff if exists, otherwise stick with $EDITOR
- Stop trying to remove CVSROOT; hasn't been checked out since modules
support was removed by erwin
2012-05-02 18:32:30 +00:00
Greg Larkin
e49ea39cc3
- Fixed "permission denied" error
...
- Prevented full ports tree build when operating with ~/.cvsrc
PR: ports/139121
2009-10-06 00:48:13 +00:00
Erwin Lansing
e4bbe0c85e
CVSROOT/modules no longer contains an entry per port, remove support
...
for this from these scripts.
2008-06-19 22:09:01 +00:00
Vasil Dimov
101df1b468
Use echo instead of printf because external commands cannot be executed
...
with very long arguments (>400000 characters).
The problem reveals for example if
/usr/ports/Tools/scripts/rmport -d print/ghostscript-gnu
is executed - it does
printf "%s\n" "... 451109 chars ..."
Spotted by: rafan
2007-03-28 20:39:18 +00:00
Vasil Dimov
eed3828ab1
* Run cvs update just before cvs commit to sync a potentially changed files
...
in the repository. Suggested by: gabor@
* Fix typo in the output
2007-02-19 07:24:36 +00:00
Vasil Dimov
92615ddfc4
A bunch of cosmetic changes - add one empty line to make the output more
...
readable and use double quotes everywhere.
2007-01-26 14:25:39 +00:00
Vasil Dimov
a62c886fca
Make output messages more useful
2007-01-26 10:19:23 +00:00
Vasil Dimov
0d451e0598
* Make it possible to skip existing dependencies and ports references in LEGAL
...
and continue with removal anyway. Requested by miwi@
* Pipe dependencies information (if any) through a PAGER because INDEX lines
are very long and hard to read when wrapped
2007-01-19 15:49:49 +00:00
Vasil Dimov
59a026b0f1
Query Gnats for PRs by using the query-pr command on freefall instead of the
...
web-interface becase the later is not reliable.
2006-12-20 13:18:25 +00:00
Vasil Dimov
e2f1d375a7
Add check for existing non-closed PRs related to the port being removed.
...
If any are found then ask if the port should be skipped from removal or
removed regardless of the PRs.
2006-12-13 07:32:58 +00:00
Vasil Dimov
9125407be5
Add deprecated reason to the output of -F
2006-11-02 09:20:10 +00:00
Vasil Dimov
e1bcb99398
* Create custom commit message template and populate it with the ports
...
to be removed, possibly with the expiration date and deprecated reason
* If port is not marked for expiration than put "Removed" in ports/MOVED
entry instead of "Has expired"
* Implement -a option to remove all expired ports
* Ask if the cvs diff output should be recreated/reviewed again thus
giving the committer a chance to edit files by hand and view diff
results afterwards
* Cosmetic changes
2006-11-01 09:57:36 +00:00
Vasil Dimov
1854c2ed1d
When checking for dependencies of foocategory/barport also find constructs
...
like .../barport/something e.g. expect either space, slash or eol after
port's name
2006-10-05 10:40:29 +00:00
Vasil Dimov
800d19da74
When checking dependencies also look for portname references in Mk/*.mk
...
in addition to */*/Makefile* and ignore references in comments
2006-09-14 09:13:39 +00:00
Vasil Dimov
f5a601c10a
Remove grep's -w switch from the dependency check since it misses some
...
dependencies. This needs some more polishing but for now it is better to
emit false positives than skip dependencies.
2006-09-12 08:35:16 +00:00
Vasil Dimov
ed290037f5
Escape characters (like +) that may appear in ports' names and
...
break sed -E regular expressions
2006-07-05 08:31:49 +00:00
Vasil Dimov
12dda3240e
Add support for specifying ports to be removed as directories on the
...
filesystem (either absolute or relative) in addition to `category/port'.
PR: ports/96649
Submitted by: Cheng-Lung Sung <clsung@freebsd.org>
Reworked by: vd
2006-05-02 11:31:54 +00:00
Vasil Dimov
8529c41f37
Improve dependency check:
...
When removing category/port - look if other ports' Makefiles contain
`/port' rather than `category/port', since the later misses things
like `${.CURDIR}/../port'
2006-05-02 09:16:10 +00:00
Vasil Dimov
b2a9550574
Add support for removing multiple ports which depend on each other
2006-04-17 08:08:37 +00:00
Vasil Dimov
dffa807775
Quote ${1} so we don't get ``[: =: unexpected operator'' if the script
...
is started without arguments.
2006-04-12 05:23:04 +00:00
Vasil Dimov
ffc261a29e
Add the script I use to remove ports so everyone
...
can benefit (or suffer :-) from it.
2006-04-10 05:54:50 +00:00