Commit graph

24 commits

Author SHA1 Message Date
wiz
901afb5669 mk/misc/developer.mk: improve commit message
Commits to doc/ might also affect the TODO file, so use
"doc: " instead of "CHANGES-2017: " as default prefix.

Suggested by jperkin.
2017-09-13 09:06:34 +00:00
wiz
b24bc849af mk/bsd.pkg.mk: Adapt changes-entry target
Prefix package name to commit message.
2017-09-12 14:04:59 +00:00
obache
b95f24e41f Use ${NETBSD_LOGIN_NAME} for ssh. 2014-02-22 13:11:22 +00:00
obache
17f5e8a221 Add upload-distfiles target for PKG_DEVELOPER, for uploading missing distfiles
to our backup ftp server.
2014-02-20 10:12:22 +00:00
joerg
af3cbe2308 Allow running on systems where pkg_admin is not in PATH 2013-04-12 13:53:57 +00:00
wiz
fd9723646f Update description for cce, from Snader_LB. 2011-09-15 21:45:52 +00:00
joerg
d8f9a8b0ce Add USE_NETBSD_REPO option to force make cce and friends to use the
main repository. Very useful when using a local copy of the repository
for normal operation.
2009-08-23 18:09:45 +00:00
wiz
89131fecc2 Make cce depend on todo-entry-remove as well. 2009-08-21 23:34:42 +00:00
wiz
71c2cba0e6 When making an entry to the CHANGES-* file using 'make changes-entry',
the target now automatically also removes any TODO entries for the
package that was updated.

Script improved based on version by dholland; further suggestions
by gdt and joerg.
2009-08-21 12:51:07 +00:00
rillig
74918473a2 Clarified the difference between "Renamed" and "Moved".
Rewrote a bit of code so that CTYPE=mv and CTYPE=ren work as intended.
2008-11-05 08:21:56 +00:00
rillig
161dbd2911 ... and added a few more keywords. 2008-10-20 10:19:18 +00:00
rillig
4ddbfc86a1 Reformatted the comments so that "bmake help" recognizes them. 2008-10-20 10:17:40 +00:00
jlam
8ac5e5fd34 Relax the values that CTYPE can take for changes-entry and related
targets.  Values are now case-insensitive, and the expanded set of values
that can be used are:

	Added			=> add*
	Updated			=> up*
	Removed			=> rem*, rm
	Renamed, Moved		=> ren*, mov*, mv

This changes is purely for usability reasons -- I have trouble remembering
the exact values, and I don't like to type with capitalization unless.
2008-04-30 16:22:18 +00:00
gdt
282cf8f7f1 Add comment noting that support for OLDNAME in Removed case is needed. 2007-11-29 23:35:37 +00:00
gdt
837f3385ae Add notes of things that need fixing:
# XXX Accumulate commit message during each operation, so that a final
# commit operation will have a sensible message with all of the
# previous operations.

# XXX Fail if uid is 0, or perhaps != CVS meta files owner, to catch
# the case of invoking these targets as root.
2007-09-09 22:57:04 +00:00
gdt
6e460feeda Add wiz's request, add a changes-entry-noupdate that has the old
behavior of just appending to the file without cvs update (or cvs edit
if not writable), for the convenience of those committing multiple
package updates at once.  To implement this, split the
update/cat/commit into elementary targets and compose them to form the
user-exposed targets, spiff up the comments, and rationalize .PHONY
usage.
2007-08-02 11:52:14 +00:00
gdt
ff5558bc4c Rationalize changes-entry and commit-changes-entry.
changes-entry now does cvs update (and cvs edit if needed), and adds
the line.  This target will behave the same way (with extra CVS
traffic) if the file is up to date, and will be omre useful if
CHANGES-YYYY is not up to date.

commit-changes-entry depends on changes-entry and also commits.  This
target has no behavior changes.

Rename _CCE_FOO variables to PKGSRC_CHANGES_FOO, and merge with
existing varables.

We may need a changes-entry-no-update, or a new name for what
changes-entry does now.  Given how infrequently CHANGES-YYYY is up to
date when I want to add, I believe the new behavior will be welcome to
almost everyone.
2007-07-28 12:23:17 +00:00
gdt
13a15e5263 In cce, run cvs edit if the file is not writable. This occurs with
CVSREAD=t, and should result in unchanged behavior with writable
files.  Split _CCE_CHANGES definition into _CCE_CHANGES_{DIR/BASE} to
facilitate above.
2007-07-21 22:31:02 +00:00
wiz
6dfc0822ec Support "Removed" again. Fix typo in comment. 2007-04-01 21:14:27 +00:00
rillig
6d687a884a Forgot to disable the "echo-only" mode in the last commit.
Now "make cce" really commits.
2007-03-14 17:53:03 +00:00
rillig
c09a97f2db Added the target "commit-changes-entry", or "cce", which adds a single
package change to the CHANGES file and commits it.

Added error checking to the changes-entry target.
2007-03-14 16:21:58 +00:00
rillig
e92c96025d Reformatted the documentation. 2007-03-08 23:38:43 +00:00
rillig
97bb220eca White-space and comment improvements. 2007-02-06 20:06:38 +00:00
rillig
43908c44cc Moved the show-tools target to misc/show.mk.
Moved the changes-entry target to misc/developer.mk. To save some time,
that file is only included when PKG_DEVELOPER is defined.

Moved the build-defs-message target to misc/show.mk and renamed it to
show-build-defs, since almost all other *-message targets just print a
single line.
2007-01-02 21:29:07 +00:00