Commit Graph

1053 Commits

Author SHA1 Message Date
Chris Rees
84a9fa5eb6 bsd.port.mk handles getting the primary category for us
Since Created by: line appears to be popular, get Submitted by: from that

Old-style Makefile headers should no longer be used
2012-09-20 19:25:59 +00:00
Sofian Brabez
585bd71a35 - Fix bytes problem returned by urlopen when using Python 3.x 2012-09-17 16:34:54 +00:00
Chris Rees
028474b3d4 Accepts the new svn_revision tag in the removed ports xml database.
Apologies for the complexity of the code; it's optimised for speed.  Soon I
will be able to remove the section working with dates.
2012-09-16 13:31:39 +00:00
Beat Gaetzi
0ad288949c - Set fbsd:nokeywords property value to the one recommended by the Ports
Subversion Primer.

Approved by:	mandree@ (maintainer)
2012-09-09 17:07:17 +00:00
Sofian Brabez
d3c5a5d767 - Support Python 3.x 2012-09-06 15:54:37 +00:00
Eitan Adler
fe682edd2d By request, move dialogwrapper to the main folder and fix the readme.
Additionally, document the wrapper in the main readme
2012-09-01 02:56:50 +00:00
Chris Rees
800b5d1d40 Now that the headers have been removed, we no longer get the Whom line from
which to acquire the Submitted by: line.

It should be reasonable to simply use the MAINTAINER line; unfortunately we
lose the real name and only get the email address.
2012-08-31 18:40:40 +00:00
Eitan Adler
44bb515cac Add $FreeBSD$ lines
reported by:	crees
2012-08-31 16:17:19 +00:00
Eitan Adler
bdc98b35f5 By request, add dialog wrapper used to give the ports options dialog
additional features such as:

- extended descriptions
- auto resizing
- compatability with older dialog implementations

Submitted by:	wblock
Reviewed by:	ports@
2012-08-31 16:04:08 +00:00
Sofian Brabez
d1bd97d171 - Fix documentation
Submitted by:	culot, gahr
2012-08-30 10:23:01 +00:00
Chris Rees
e7045e4591 Fix the -y option to test for possible duplicate ports; use INDEX instead of
modules file that was removed.

It's fast, use it!
2012-08-25 12:02:28 +00:00
Matthias Andree
34a636ac73 Use "exec" when executing SVN with user-provided arguments,
to avoid running SVN multiple times with command lines like the
following:

svn co --depth empty svn+ssh://svn.freebsd.org/ports/head ports

Reported by:	ak@ (on IRC)
2012-08-24 19:54:38 +00:00
Sofian Brabez
3bdb4508da - Add getpatch script to download patch attachments on bug tracking systems
Approved by:	portmgr (bapt)
2012-08-23 14:07:48 +00:00
Chris Rees
9ee7e5adda - Look for older versions of ports to copy over before committing.
Requested by:	several

- Remove older readded ports from MOVED

- Tighten up find syntax (split by null and use -print0)
2012-08-21 10:20:51 +00:00
Matthias Andree
e703ecdcc8 Changes over original script:
- FIX: all progress and error output goes to fd#2 (stderr)
- FIX: at top level, properly detect commands if preceded by options
- FIX: in checkstatus(), handle ~ (obstructed versioned item)
- FIX: support blanks, leading dashes, and shell meta characters:
  + in file names, so as not to choke the script on difficult file names
  + in command line arguments, so that svn commit -m "commit message" works,
    rather than complaining about an unversioned file "message".
- FIX: in checkstatus(), keep leading spaces from svn status
- FIX: in setprop(), detect egrep errors, rather than assuming "no match"
- ADD: die if "check" psvn-specific command has trailing arguments
- CHANGE: replace `...` by more concise $(...) notation
- CHANGE: take maintainership, offered by beat@.
- SPEEDUP: in checkstatus(), use shell built-ins, rather than commands
- SPEEDUP: when checking files, run svn only once, rather than for each file
- SPEEDUP: when skipping "svn rm"-ed files, use ! -e rather than head|awk
- TODO: handle long options for svn commit
- TODO: do not stomp over svn:mime-type if it's already set (binary files!)

Approved by: beat@ (maintainer)
2012-08-20 20:42:24 +00:00
Chris Rees
139fb2b37a Don't replace - with _ in category variable.
This was required with CVS, since the category was checked out as a module, but
the directory name is used with svn.

For example:

pcvs co ports_ports_mgmt

svn co $ports/head/ports-mgmt

Submitted by:	swills
2012-08-10 10:49:36 +00:00
Beat Gaetzi
28be53e942 - Remove duplicate execution of svn info [1]
- Add description what the script actually does

Submitted by:	gahr [1]
2012-07-18 19:52:33 +00:00
Eitan Adler
a12d8d5169 Support svn too 2012-07-15 23:22:49 +00:00
Eitan Adler
3770374e75 Remove support for CVS from MOVEDLint
Approved by:	portmgr (beat)
2012-07-15 23:16:13 +00:00
Beat Gaetzi
75ecda1127 - Add a svn wrapper which does sanity checking and handles svn properties 2012-07-15 22:09:45 +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
Doug Barton
44fa804810 s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
2012-06-24 21:53:38 +00:00
Chris Rees
7cc980c36f Support conversion of make.conf-style files.
The script is very cautious, and may miss some; checking the results by hand
is absolutely vital.
2012-06-09 09:01:38 +00:00
Chris Rees
d2d57e3729 Add script to convert old-style OPTIONS database files to new format.
If you are having trouble with saved OPTIONS not being recognised, just run
this as root and you will have no further trouble!
2012-06-04 15:03:26 +00:00
Chris Rees
343b4bb879 - Modify Additional Contributors path to match svn
- Take maintainership

Approved by:	garga (maintainer)
2012-05-30 18:54:01 +00:00
Martin Wilke
3833a90f6a - Restore getpr, i still use it and i believe few other committers as well
- Take maintainership
2012-05-29 07:15:42 +00:00
Chris Rees
7bafcecff5 Remove obsolete PR handling scripts. These had hardcoded /home/ncvs
Approved by:	mharo (maintainer)
2012-05-24 20:19:12 +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
Erwin Lansing
bb62d70bda Spell plural LATEST_LINKs with a lowercase s to avoid confusion
to the spelling of LATEST_LINK.

Submitted by:	gerald
Feature safe: 	yes
2012-04-08 09:00:23 +00:00
Eitan Adler
5c65825d5a Document MOVEDlint in README 2012-02-16 16:09:41 +00:00
Philip M. Gollucci
4c3d247b1f - fix interpreter path for python
PR:             ports/154431
Approved by:    sobomax (maintainer)
2012-02-11 22:48:26 +00:00
Eitan Adler
03bc1a88df If you have not yet run this script, I feel sorry for you.
Hat:	x11
2012-01-15 22:52:00 +00:00
Wesley Shields
1f651e8177 Better wording to clarify the previous two commits.
Submitted by:	dougb@
2011-12-28 01:46:02 +00:00
Wesley Shields
0468e95981 Revert part of the previous commit, and make things a little more clear with
punctuation.

Discussed with:	eadler@
2011-12-28 00:53:48 +00:00
Eitan Adler
621a1828da - Remove some old duplicate words. They were getting in way of finding newer ones. 2011-12-27 03:32:25 +00:00
Greg Larkin
270c28b6ae - Fixed missing end-quote in sed command
- Fixed some grammatical errors in output messages

PR:		ports/162506
Submitted by:	"Conrad J. Sabatier" <conrads@cox.net>
Approved by:	sobomax (maintainer timeout - 1 month)
Feature safe:	yes
2011-12-09 23:26:58 +00:00
Doug Barton
d2c1853804 INDEX-6 -> INDEX-8
Submitted by:	gjb
2011-09-28 01:44:31 +00:00
Erwin Lansing
2b35911821 Add support from FreeBSD 10.x 2011-09-27 06:29:35 +00:00
Chris Rees
5d4b8b15b0 Add option (-y) to check for similarly named ports.
PR:		ports/159841
Submitted by:	crees (me)
Approved by:	garga (maintainer)
2011-08-29 14:54:48 +00:00
Stanislav Sedov
bfc1333181 - Use optparse instead of old deprecated method.
- Kill ruby 1.6 related stuff.
2011-08-23 09:23:54 +00:00
Stanislav Sedov
d39e30b3dc - Fix options processing (optparse puts options into hash indexed by strings,
not symbols).
2011-08-23 09:17:46 +00:00
Stanislav Sedov
90d33c8b8c - Make it work with ruby 1.9. 2011-08-23 08:42:31 +00:00
Steve Wills
c1c18af0fe - Back out category check for now 2011-08-16 00:09:12 +00:00
Steve Wills
4a09663ed3 - Remove obfuscation of submitter email at request of dougb
- Add check that port is in right directory as I've been bitten by this
2011-08-15 21:21:41 +00:00
Emanuel Haupt
e7cc2ccf33 Fix readme building. 2011-08-12 06:56:44 +00:00
Renato Botelho
390fe1afe5 Change shebang to #!/usr/bin/env perl, as required by bapt@ 2011-07-27 17:18:26 +00:00
Erwin Lansing
2b43202957 Remove duplicate words in comment.
Submitted by:	ohauer
2011-05-02 09:38:04 +00:00
Florent Thoumie
03074365a5 Remove portbuild scripts from pcvs, as they now live in svn/projects. 2011-04-24 16:37:51 +00:00
Mark Linimon
3fcbbb8d24 Add some definitions to try to limit the number of times we let builds
fail before we stop.  This should help avoid spamming people's mboxes.
2011-04-22 18:32:13 +00:00
Mark Linimon
9fd443c7ba Allow the top-level build to be destroyed. This is useless for
pointyhat, but is intended for pointyhat-[west|east] to be able to
remove no longer needed specialized -exp runs.  (They remain in the
errorlog archive; they can merely be removed from zfs.)

Replace this test with an anti-foot-shooting measure so that you cannot
remove 'latest' unless you have already removed 'previous'.
2011-03-24 06:24:04 +00:00