Commit graph

1159 commits

Author SHA1 Message Date
Ruslan Makhmatkhanov
ea6db28b34 Let addport script to use svnlite if available
1. Check if svnlite is available and use it by default, else: use svn
2. Dehardcode svn binary name in shell calls, to make both svn/svnlite
work

Approved by:	crees (maintainer)
2015-09-25 19:29:48 +00:00
Christian Weisgerber
11982cf73b Default to repo.FreeBSD.org for commits, as urged by our repo meister.
Approved by:	portmgr (mat)
2015-09-20 20:56:59 +00:00
Christian Weisgerber
4399edafd2 Default to repo.FreeBSD.org for commits, as urged by our repo meister.
Approved by:	crees
2015-09-15 15:31:54 +00:00
Mathieu Arnold
1124f4f901 Actually allow only one revision to be merged.
Pointy hat to:	mat
Sponsored by:	Absolight
2015-09-07 12:25:29 +00:00
Mathieu Arnold
628561d9c8 Support merging multiple revisions in one go with mfh.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3553
2015-09-07 12:23:51 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Erwin Lansing
53695d99c4 Drop building 8.x
Sponsored by:	DK Hostmaster A/S
2015-08-01 09:58:21 +00:00
Emanuel Haupt
6fd5465bd2 Invoke perl with /usr/bin/env 2015-07-09 06:49:28 +00:00
John Marino
23683f5155 Tools/scripts: Add size offenders report generator
This is the script that generated the "20 ports account for X% of the
Ports collection by size" report.  This shells script  is useful to
identify obscenely large ports: top-size-offenders.sh
2015-05-20 16:35:00 +00:00
Alex Kozlov
c9575fbfdc - Remove a few more scripts from Tools/scripts:
chkdepschain.py: doesn't support pkgng
explicit_lib_depends.sh: doesn't support pkgng
plist: obsolete; searches for /etc/mtree/BSD.local.dist, add @dirrm, doesn't know about man pages in the plist
release: unused and obsolete
resolveportsfromlibs.sh: doesn't support pkgng

Approved by:	portmgr (bapt)
2015-04-10 07:05:45 +00:00
Alex Kozlov
4a5d17fd60 - Obsolete and made unusable by changes in the Ports Collection 2015-04-09 04:45:25 +00:00
Rodrigo Osorio
88944e3161 Add getpatch.sh, a shell script only tool to download patch attachments on bug tracking systems 2015-03-30 21:13:12 +00:00
Baptiste Daroussin
fde955558c This scripts is not useful anymore 2015-03-18 20:38:44 +00:00
Bartek Rutkowski
ab6c260d33 Tools/scripts/bump-revision.sh: fix regression introduced in r380431
- Fix regression mistakenly introduced in r380431
- Handle multiple tabs in PORTREVISION
- Handle PORTREVISION being a variable name
- Handle multiple PORTREVISION values
- Get rid of bash-like syntax
- Grammar corrections

PR:		192910
Reviewed by:	danfe, mandree, mat
2015-03-04 23:21:59 +00:00
Bartek Rutkowski
e9b9c710a6 Tools/scripts/bump-revision.sh: various fixes
- Write nicer code replacing fix introduced by mandree
- Catch up some more edge cases

PR:		192910
2015-03-04 12:07:40 +00:00
Pawel Pekala
bff25072b2 Support non default ports path.
PR:		194423
Submitted by:	myself
Approved by:	maintainer timeout (4 months), trivial - just fix it
2015-02-20 16:30:26 +00:00
Mathieu Arnold
16c7163fe6 Don't add ports/ to the PR line.
Sponsored by:	Absolight
2015-01-27 13:38:01 +00:00
Alex Kozlov
76d714945f - Remove vestiges of cvs annotate support 2014-12-07 17:51:12 +00:00
Alex Kozlov
b905046ff4 - Doesn't support Bugzilla bugtracker 2014-11-24 18:50:04 +00:00
Mathieu Arnold
9a22293c2e Make this work with any amount of tabulations between the = and the value of PORTREVISION.
Sponsored by:	Absolight
2014-11-18 16:26:09 +00:00
Mathieu Arnold
f10048320e Fix if PORTREVISION is not already there.
Sponsored by:	Absolight
2014-11-18 16:03:40 +00:00
Baptiste Daroussin
91a1caa242 Reset miwi's maintainership per his demand
Hope to see you back! Thank for all the work!
2014-11-18 09:37:31 +00:00
Matthias Andree
f8f8110e2a Catch and report substitution failure on lines such as PORTREVISION=${SOME_VAR}. 2014-08-22 07:13:51 +00:00
Bryan Drewery
5d24089a65 - Eat excess newline at the end of the commit log. 2014-08-21 18:47:33 +00:00
Matthias Andree
b58318d59c Add a BerkeleyDB upgrade helper script in preparation of 4...4.7 removal. 2014-08-21 15:56:14 +00:00
Sofian Brabez
ffad0a1b50 - Better handling when custom encoding is specified in details
- Use only one request to retreive patchs

CR:	D400
CR:	D401
Submitted by:	rakuco
2014-07-23 12:14:32 +00:00
Bartek Rutkowski
43baa4d6be New script: Tools/scripts/bump-revision.sh
This script, requested by bapt@, is a pure sh tool to increase one
or more ports PORTREVISION value or to add one, if the port havent
had one already.

Approved by:	swills (mentor), bapt
2014-06-26 17:15:39 +00:00
Matthias Andree
dd683e1c3a ports/Tools/scripts/mfh revision:
- use proper quoting
- use fewer svn invocations
- optionally drop to a shell before committing,
  to manually fix up a botched merge.
- svnserver can be overridden in the environment.
- Finally, we use sh's trap builtin to make sure we always clean up.

PR:		186256
Approved by:	portmgr (bapt@)
2014-06-25 19:04:31 +00:00
Eitan Adler
ecf399dfec Remove consistency-check since it relies on MD5 and only works for old pkg_ tools
Also clean up README a bit more

Discussed with:	ak, bapt
2014-06-25 08:50:50 +00:00
Eitan Adler
e78a8b68bf Clean up README 2014-06-25 08:39:27 +00:00
Eitan Adler
4dd5f3ed1d add missing Mt to Aq 2014-06-25 08:32:12 +00:00
Eitan Adler
95a6a111a4 To my knoledge (and grep) the close-pr script in Tools/scripts is not used anywhere, so remove it.
OKed by: bapt
2014-06-25 08:27:37 +00:00
Adam Weinberger
5e97d368a3 Invoke perl with /usr/bin/env, as perl is not guaranteed to exist in
/usr/bin.
2014-06-22 17:53:44 +00:00
Adam Weinberger
9f70fa1685 * Default to name search (-n) if no flags are specified.
* Add -e, to cat the pkg-descr for each port found.
* Format with tabs instead of 4-spaces, as the latter made editing
  an absolute nightmare and isn't used by anything else.
* Add -h to the option list, as it was missing.
* Use the fields hash in the format instead of hardcoded indices.
2014-06-22 17:49:46 +00:00
Sofian Brabez
2b31a22731 - Switch to bugzilla as default value for the mode
CR:		D235
Submitted by:	rakuco
2014-06-18 20:18:33 +00:00
Martin Wilke
e83752b680 - Correct the bugzilla url
With hat:	portmgr
2014-06-02 05:04:21 +00:00
Bryan Drewery
94ec4229c2 - Move security-check.awk to Mk/Scripts where it is more proper these days.
With hat:	portmgr
2014-05-09 22:35:50 +00:00
Sofian Brabez
a3906dcd56 - Use https in URL_BASE
- Update with our bugzilla experimental url
2014-04-22 09:58:20 +00:00
Gerald Pfeifer
3b4262d630 Replace edwin's contact address with mine in the help, too. And
also solicit improvements. :-)
2014-04-18 23:37:53 +00:00
Gerald Pfeifer
0318479619 Only show the final instructions on how to do the actual commit when
doing the real job, not for a dry run.  Tweak those instructions a bit.

Assume maintainership.

Approved by:	edwin (maintainer)
2014-04-06 15:11:09 +00:00
Chris Rees
d34d662a29 Fix cdiff
Reported by:	swills
2014-03-24 20:30:00 +00:00
Eitan Adler
d868ed7aea Make MOVEDLint output more consistent 2014-01-24 15:44:54 +00:00
Matthias Andree
db878e07de Give proper reason why we reject replaced files. 2014-01-21 00:44:08 +00:00
Lars Engels
addfd6a6e1 - Allow a leading "r" in the svn revision
- Use a variable for the Subversion server
- Consistently use ${} around variables
- Bail out if neither svn(1) nor svnlite(1) are installed

Approved by:	bapt
2014-01-08 22:43:21 +00:00
Baptiste Daroussin
4a0f73b995 Remove ^MFH: lines from the log 2014-01-08 14:45:13 +00:00
Baptiste Daroussin
61c47bcd00 update the tree before merge to avoid having a mixed revision tree before merging 2013-12-26 17:27:19 +00:00
Baptiste Daroussin
afdc465ff0 Import mfh script to merge to the Q branches 2013-12-19 14:43:58 +00:00
Gerald Pfeifer
7108cdf6d5 Adjust a bit towards the new world of SVN in terms of directory
structure and output for the user.

Approved by:	maintainer (edwin)
2013-12-01 21:16:45 +00:00
Eitan Adler
e8e51739fe Remove p5-deps.pl which was used when perl 5.8 was removed. It has not been needed in many years.
Reported by:	ak
2013-10-30 21:28:24 +00:00
Erwin Lansing
5c1760757a This one goes to 11. 2013-10-13 11:16:48 +00:00