2 years agowhen refreshing upstream, use push URL master
Graham Knop [Mon, 25 Apr 2022 13:06:04 +0000]
when refreshing upstream, use push URL

Part of the release process involves pushing to the git remote, so try
to validate that early. We can't do an actual push early, to verify the
permissions, but we can at least verify that the push URL works.

This can be a problem when using different URLs for pull vs push, like
https for pull and ssh for push. If you are on a restricted network, one
may fail while the other would work.

2 years agogenerate readme from ABSTRACT_FROM rather than VERSION_FROM if provided
Graham Knop [Mon, 20 Sep 2021 15:05:42 +0000]
generate readme from ABSTRACT_FROM rather than VERSION_FROM if provided

2 years agomore flexible version matching when bumping Makefile.PL
Graham Knop [Mon, 20 Sep 2021 14:56:59 +0000]
more flexible version matching when bumping Makefile.PL

2 years agofix bumpmajor
Graham Knop [Fri, 3 Sep 2021 11:00:45 +0000]
fix bumpmajor

3 years agosupport make bump V=patch
Graham Knop [Wed, 31 Mar 2021 01:22:25 +0000]
support make bump V=patch

3 years agoupdate git clone urls
Graham Knop [Wed, 31 Mar 2021 01:21:50 +0000]
update git clone urls

3 years agoremove debug code
Graham Knop [Sun, 27 Dec 2020 21:56:32 +0000]
remove debug code

3 years agorefuse to package files differing only by case
Graham Knop [Mon, 23 Nov 2020 21:55:41 +0000]
refuse to package files differing only by case

3 years agomake functions return 1 to avoid borkage on do
Matt S Trout [Thu, 27 Aug 2020 15:01:59 +0000]
make functions return 1 to avoid borkage on do

3 years agofactor out code to generate makefile fragment from lines and arrayrefs
Graham Knop [Tue, 11 Aug 2020 04:07:23 +0000]
factor out code to generate makefile fragment from lines and arrayrefs

3 years agorevise makefile additions to remove literal tabs from source
Graham Knop [Tue, 11 Aug 2020 00:40:51 +0000]
revise makefile additions to remove literal tabs from source

Rather than adding raw text blobs, allow providing arrayrefs for
commands to add to Makefile.  Content in arrayrefs will automatically be
tab indented.  This allows the raw tabs to be removed from the source,
as well as making it easier to add calculated content to command lists.

3 years agoskip Distar directory in libscan, allowing us to restore the Makefile.PL
Graham Knop [Fri, 1 May 2020 20:21:57 +0000]
skip Distar directory in libscan, allowing us to restore the Makefile.PL

3 years agomove Makefile.PL aside for now
Graham Knop [Fri, 1 May 2020 15:46:01 +0000]
move Makefile.PL aside for now

The default way of using Distar will put it in a subdirectory of the
dist.  If the dist doesn't specify NO_RECURS, EUMM will try to include
Makefile.PL files in subdirectories.  This means it will include Distar
if it has one.

For now, move the Makefile.PL aside.  This will be revisited in the
future.

4 years agoadd a readme usable by github
Graham Knop [Thu, 16 Apr 2020 07:58:55 +0000]
add a readme usable by github

GitHub used to be able to read pod documentation from a symlink, even if
the target file is a different type.  This has been broken for a while
(https://github.com/github/markup/issues/1253) so remove the symlink and
add a generated README.md file.

4 years agopackaging for CPAN
Graham Knop [Fri, 15 Feb 2019 13:45:52 +0000]
packaging for CPAN

4 years agomove helpers location to inside lib
Graham Knop [Fri, 15 Feb 2019 13:41:46 +0000]
move helpers location to inside lib

4 years agoadd aliases for bump-version alpha option
Graham Knop [Tue, 14 Apr 2020 13:55:21 +0000]
add aliases for bump-version alpha option

4 years agoremove underscores from version using tr rather than eval
Graham Knop [Tue, 14 Apr 2020 13:54:01 +0000]
remove underscores from version using tr rather than eval

4 years agoset uid and gid when using bsd tar
Graham Knop [Tue, 14 Apr 2020 08:40:25 +0000]
set uid and gid when using bsd tar

It's possible to set the user and group when using bsd tar, but the
options are different from GNU tar.  Use these options, and simplify the
code that handles this.

4 years agorefactor adding distar code to Makefile
Graham Knop [Thu, 6 Feb 2020 14:33:34 +0000]
refactor adding distar code to Makefile

4 years agohandle GNU tar named gnutar, and improve diagnostic messages
Graham Knop [Thu, 6 Feb 2020 14:10:07 +0000]
handle GNU tar named gnutar, and improve diagnostic messages

4 years agoallow LICENSE generation to fail during disttest phase
Graham Knop [Tue, 4 Jun 2019 14:33:33 +0000]
allow LICENSE generation to fail during disttest phase

5 years agosilence errors if tar and gtar don't exist
Graham Knop [Sat, 6 Apr 2019 13:30:38 +0000]
silence errors if tar and gtar don't exist

5 years agoadd missing File::Basename load
Graham Knop [Wed, 20 Feb 2019 16:33:46 +0000]
add missing File::Basename load

5 years agoreduce reliance on distar root directory
Graham Knop [Wed, 20 Feb 2019 16:30:32 +0000]
reduce reliance on distar root directory

5 years agoclean up whitespace
Graham Knop [Wed, 20 Feb 2019 11:03:59 +0000]
clean up whitespace

5 years agoinclude changes text in release commit and tag
Graham Knop [Thu, 12 Nov 2015 09:26:02 +0000]
include changes text in release commit and tag

5 years agofix adding license to manifest
Graham Knop [Tue, 19 Feb 2019 17:27:12 +0000]
fix adding license to manifest

5 years agocall Distar::import when remaking
Graham Knop [Tue, 19 Feb 2019 02:25:35 +0000]
call Distar::import when remaking

5 years agogoto Exporter::import rather than using export_to_level
Graham Knop [Mon, 18 Feb 2019 15:30:44 +0000]
goto Exporter::import rather than using export_to_level

5 years agoinject Distar behavior at import time rather than compile time
Graham Knop [Fri, 15 Feb 2019 13:45:00 +0000]
inject Distar behavior at import time rather than compile time

5 years agofix license add-to-manifest call
Graham Knop [Mon, 18 Feb 2019 12:50:59 +0000]
fix license add-to-manifest call

5 years agobump version and add basic changelog v0.003000
Graham Knop [Fri, 15 Feb 2019 13:30:14 +0000]
bump version and add basic changelog

6 years agolicense file generation
Graham Knop [Wed, 22 Jul 2015 19:45:28 +0000]
license file generation

6 years agofix author handling
Graham Knop [Thu, 15 Feb 2018 17:17:53 +0000]
fix author handling

6 years agodon't pass author if not set
Graham Knop [Sun, 28 Jan 2018 15:07:15 +0000]
don't pass author if not set

6 years agotry to force tar format and uid/gid
Graham Knop [Wed, 22 Nov 2017 17:09:59 +0000]
try to force tar format and uid/gid

If the uid and gid of the files on disk is too large, tar will silently
upgrade the format of the tar file to include pax headers.  This will
lead to warnings or errors on decompressing.  Try to force the format to
prevent this.  This may cause the archive creation to fail, but there is
an extra check to validate the tarball later.  If using gnu tar, we can
force the uid and gid, which should prevent this issue.

6 years agofix tar type handling for uncompressed tar files
Graham Knop [Fri, 1 Dec 2017 01:28:15 +0000]
fix tar type handling for uncompressed tar files

6 years agoremove default FAKE_RELEASE setting, allowing env to pass through
Graham Knop [Sat, 2 Sep 2017 15:13:01 +0000]
remove default FAKE_RELEASE setting, allowing env to pass through

6 years agoverify tarballs
Graham Knop [Tue, 28 Mar 2017 00:17:51 +0000]
verify tarballs

6 years agofatal prereqs on release
Graham Knop [Tue, 28 Mar 2017 00:16:12 +0000]
fatal prereqs on release

7 years agoupdate docs
Graham Knop [Tue, 4 Apr 2017 13:31:05 +0000]
update docs

7 years agoadd README.pod as link to distar docs
Graham Knop [Tue, 4 Apr 2017 12:20:53 +0000]
add README.pod as link to distar docs

7 years agomake sure readme is finalized before generating signature
Graham Knop [Sun, 16 Oct 2016 11:35:34 +0000]
make sure readme is finalized before generating signature

7 years agoavoid needing . in @INC in dev mode
Graham Knop [Sun, 16 Oct 2016 11:34:50 +0000]
avoid needing . in @INC in dev mode

7 years agobump version in pod
Graham Knop [Wed, 12 Oct 2016 20:23:52 +0000]
bump version in pod

7 years agofix directory calculations without --git
Graham Knop [Wed, 12 Oct 2016 20:21:34 +0000]
fix directory calculations without --git

7 years agoadd warning for over-long dotted decimal
Graham Knop [Sun, 2 Oct 2016 01:16:34 +0000]
add warning for over-long dotted decimal

7 years agoadd --stable and --alpha options
Graham Knop [Sat, 1 Oct 2016 22:51:30 +0000]
add --stable and --alpha options

7 years agofix and clean up numeric version bumping
Graham Knop [Tue, 27 Sep 2016 01:19:44 +0000]
fix and clean up numeric version bumping

7 years agobump dotted decimal as dotted decimal
Graham Knop [Tue, 27 Sep 2016 01:17:10 +0000]
bump dotted decimal as dotted decimal

7 years agoadd --dry-run option
Graham Knop [Sat, 1 Oct 2016 22:52:07 +0000]
add --dry-run option

7 years agofix and speed up directory scan
Graham Knop [Tue, 27 Sep 2016 01:19:13 +0000]
fix and speed up directory scan

7 years agodie with missing old version
Graham Knop [Tue, 27 Sep 2016 01:16:25 +0000]
die with missing old version

7 years agofix manifest checking missing added files
Graham Knop [Tue, 27 Sep 2016 01:14:43 +0000]
fix manifest checking missing added files

7 years agoremake even if pull fails
Graham Knop [Tue, 23 Aug 2016 10:10:35 +0000]
remake even if pull fails

7 years agofix readme handling
Graham Knop [Tue, 23 Aug 2016 10:10:22 +0000]
fix readme handling

7 years agodon't dupe xt tests if already specified
Graham Knop [Tue, 23 Aug 2016 09:46:48 +0000]
don't dupe xt tests if already specified

7 years agoremake using Distar even if not in Makefile.PL
Graham Knop [Tue, 23 Aug 2016 09:35:31 +0000]
remake using Distar even if not in Makefile.PL

7 years agodon't modify MANIFEST.SKIP if tracked
Graham Knop [Tue, 23 Aug 2016 09:35:04 +0000]
don't modify MANIFEST.SKIP if tracked

7 years agoskip ABSTRACT_FROM if ABSTRACT given
Graham Knop [Tue, 23 Aug 2016 09:34:39 +0000]
skip ABSTRACT_FROM if ABSTRACT given

7 years agobe compatible with older git
Graham Knop [Fri, 19 Aug 2016 07:40:44 +0000]
be compatible with older git

8 years agodon't force remake on Distar change
Graham Knop [Tue, 19 Apr 2016 11:59:14 +0000]
don't force remake on Distar change

8 years agoallow loading Distar from alternate location
Graham Knop [Mon, 18 Apr 2016 12:01:58 +0000]
allow loading Distar from alternate location

8 years agoupdate MANIFEST without needing to chdir
Graham Knop [Mon, 18 Apr 2016 12:00:45 +0000]
update MANIFEST without needing to chdir

8 years agobetter ordering for release process
Graham Knop [Mon, 18 Apr 2016 12:03:34 +0000]
better ordering for release process

8 years agoadd FAKE_RELEASE option to skip uploading
Graham Knop [Thu, 12 Nov 2015 10:04:31 +0000]
add FAKE_RELEASE option to skip uploading

8 years agoclean up preflight checks mirror/master
Graham Knop [Sat, 5 Dec 2015 12:16:29 +0000]
clean up preflight checks

8 years agosplit out checking for cpan-upload from preflight
Graham Knop [Sat, 5 Dec 2015 08:29:18 +0000]
split out checking for cpan-upload from preflight

8 years agosplit manifest checking out from preflight and improve
Graham Knop [Sat, 5 Dec 2015 08:27:22 +0000]
split manifest checking out from preflight and improve

8 years agosplit version checking out from preflight
Graham Knop [Sat, 5 Dec 2015 07:49:24 +0000]
split version checking out from preflight

8 years agodocs
Graham Knop [Sat, 5 Dec 2015 23:56:32 +0000]
docs

8 years agoensure README built in correct order
Graham Knop [Thu, 12 Nov 2015 10:05:29 +0000]
ensure README built in correct order

8 years agoconfigurable Changes filename
Graham Knop [Thu, 12 Nov 2015 10:03:03 +0000]
configurable Changes filename

8 years agoallow option to release from a different branch
Graham Knop [Thu, 12 Nov 2015 09:48:21 +0000]
allow option to release from a different branch

8 years agofold committing into adding changelog header script
Graham Knop [Fri, 6 Nov 2015 23:04:47 +0000]
fold committing into adding changelog header script

8 years agorefactor makefile additions
Graham Knop [Thu, 12 Nov 2015 09:29:01 +0000]
refactor makefile additions

8 years agomake releasetest more portable
Graham Knop [Mon, 9 Nov 2015 04:30:09 +0000]
make releasetest more portable

8 years agouse macros for deleting makefile
Graham Knop [Thu, 3 Dec 2015 06:10:54 +0000]
use macros for deleting makefile

8 years agognu style args
Graham Knop [Thu, 12 Nov 2015 09:26:40 +0000]
gnu style args

8 years agoclean up phony targets
Graham Knop [Mon, 14 Dec 2015 12:46:08 +0000]
clean up phony targets

8 years agoallow ABSTRACT_FROM to be overwritten
Graham Knop [Mon, 14 Dec 2015 12:46:21 +0000]
allow ABSTRACT_FROM to be overwritten

8 years agoadd version bump targets to .PHONY
Graham Knop [Tue, 3 Nov 2015 06:00:25 +0000]
add version bump targets to .PHONY

8 years agoadd our custom targets to .PHONY
Graham Knop [Fri, 30 Oct 2015 19:35:43 +0000]
add our custom targets to .PHONY

8 years agohave disttest on release include xt tests and RELEASE_TESTING=1
Graham Knop [Fri, 30 Oct 2015 19:34:59 +0000]
have disttest on release include xt tests and RELEASE_TESTING=1

8 years agoallow forcing version bump
Graham Knop [Thu, 29 Oct 2015 20:37:46 +0000]
allow forcing version bump

8 years agoallow quotes around version in Makefile.PL
Graham Knop [Thu, 29 Oct 2015 20:37:34 +0000]
allow quotes around version in Makefile.PL

8 years agoalso bump versions in bin/script
Graham Knop [Thu, 29 Oct 2015 20:37:18 +0000]
also bump versions in bin/script

8 years agoalways skip distdir in manifest
Graham Knop [Sun, 18 Oct 2015 16:46:29 +0000]
always skip distdir in manifest

8 years agoinclude full release changelog in nextrelease
Graham Knop [Wed, 2 Sep 2015 10:53:13 +0000]
include full release changelog in nextrelease

8 years agotry to maintain length when bumping version
Graham Knop [Wed, 12 Aug 2015 17:45:28 +0000]
try to maintain length when bumping version

8 years agocalculate version parts correctly for short versions
Graham Knop [Wed, 12 Aug 2015 16:50:28 +0000]
calculate version parts correctly for short versions

8 years agoremove unneeded use lines
Graham Knop [Wed, 22 Jul 2015 19:44:26 +0000]
remove unneeded use lines

8 years agoinclude LICENSE file if it exists
Graham Knop [Wed, 22 Jul 2015 19:44:07 +0000]
include LICENSE file if it exists

8 years agorefactor README handling v0.002000
Graham Knop [Wed, 22 Jul 2015 13:26:13 +0000]
refactor README handling

If a README file exists in the repo dir, it will be used automatically
rather than generating one.

8 years agogeneralize manifest adding script
Graham Knop [Wed, 22 Jul 2015 13:24:07 +0000]
generalize manifest adding script

8 years agorefactoring Makefile code
Graham Knop [Wed, 22 Jul 2015 13:08:42 +0000]
refactoring Makefile code

8 years agomove preflight to separate script
Graham Knop [Wed, 22 Jul 2015 13:05:22 +0000]
move preflight to separate script

9 years agohook into EUMM at a higher level
Graham Knop [Sun, 8 Feb 2015 17:05:52 +0000]
hook into EUMM at a higher level

9 years agobump should only check for staged changes, not output diff
Graham Knop [Sat, 14 Mar 2015 21:06:48 +0000]
bump should only check for staged changes, not output diff