summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Tidy output of `perlbug` for pasting on GitHubBram2022-09-051-10/+32
| | | | | | | | | | | | | | | | | | Clean up the report created by `perlbug` so that it looks better when pasted in a GitHub issue: - Put the 'perl configuration' in a code-block - Hide some sentences - Clean up 'Flags' section (it was shown as a very big header and taking up quite a lot of space) - Add `**Description**`, `**Steps to Reproduce**` and `**Expected behaviour**` in the body of the report (similar to the GitHub issue template) - If this is a report about a core module then also put the name of the Module at the top (it's still included in 'Flags' as well) - ... (There are two newlines added before 'Flags', this is to deal with someone using `perlbug -b foo`, without the newlines GitHub would make turn the 'foo' into a title)
* perlbug - remove obsolete paragraphDan Book2020-10-171-3/+0
|
* Provide a better recommendation for 'Run only under a shell'Nicolas R2020-08-1023-23/+23
| | | | | | | | | | | | | | Using an unset variable hides the true intent and also requires an extra backslash `\$running_under_some_shell` when used in heredoc. Note that this could also lead to mistake when using `\$` in a regular Perl program, as this would be true and not false as it should be. Stop recommending the use of an undefined variable for the shell fallback. Use '0', with a comment making clear the goal of 'if 0'.
* perlbug - Change default behavior to save to fileDan Book2020-04-091-88/+70
| | | | | | | | | Output filename now always defaults to "perlbug.rep". Sends by email only if an address is specified with -a, invoked as perlthanks or with -T, or the prompt is chosen to send the report to perl5-porters. Removed option -A as it no longer does anything. Clarified output to refer to "report" instead of "message".
* Add strict and warnings to a few utilsNicolas R2020-03-134-9/+21
|
* fix typo in perlivpCraig A. Berry2020-03-061-1/+1
|
* Change various search.cpan.org references to metacpan.org and www.cpan.orgDan Book2020-01-221-1/+1
|
* Update documentation, readmes, comments, and utilities to reference the ↵Dan Book2019-12-222-32/+22
| | | | | | GitHub issue tracker The perlbug utility and perlbug@perl.org should no longer be used to submit bug reports or patches.
* Convert issue links from rt.perl.org to GitHubDan Book2019-11-261-1/+2
|
* Update IO-Compress to CPAN version 2.089Chris 'BinGOs' Williams2019-11-062-3/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 2.089 3 November 2019 * bin/streamzip Add zipstream to EXE_FILES https://github.com/pmqs/IO-Compress/issues/5 7f5ed78e5652125c9ba78aab720e18d384d59c00 fb8cd6480af6303f58fd2e12d4999cd1830f0c5f 2.088 31 October 2019 * t/105oneshot-zip-only.t Fix reset of CompSize 6034da95f1dc5a594edc0d26e6add8d86990ad56 * Add Support Details ad66b6ec4cf175a70e53f74572eed5f403648f11 * Update site for Bzip2 to sourceware 77497aeb2a234889a2b2c4ac7ea2f620895b16a9 * Fix number of tests bc4e234449a82fb00f66af752dfc4c96097b2a4d * Add streamzip script to bin 76d2795d0587bafb0cc398e97142740acba82a42 * zipdetails * Update zipdetails to version 1.11 8958cb3aa90745a4b3369479846846fdca6b4f76 * Zip64 extra field typo f186380d701fe5257f9fc92d69160dc6382cfc24 * t/105oneshot-zip-only.t test with deflated directory 16bfffcf5089af67cb7f68685cc61d06409cba73 * t/105oneshot-zip-only.t Add test for encrypted Zip files 5ad813115aed000f88d7df28261b43c00ae56525 2c64e255feb5a1ee33d033f7eccb6feca12ebe97 * Documentation Updates https://github.com/pmqs/IO-Compress/issues/2 e1fd0d4eda0a8496981cbd83ad06906f4ae586a5 * Mention xz, lzma etc https://github.com/pmqs/IO-Compress/issues/4 126f7b9da97b572d0fb89a9bdcc190c5405c72b8
* Add GitHub issue templatesNicolas R2019-10-191-0/+1
| | | | | | These files should not be in the MANIFEST adjust porting/manifest.t to ignore .github files in addition to .gitignore files.
* Change bug URL from http://rt.perl.org to https://rt.perl.orgMax Maischein2019-10-111-1/+1
| | | | | | | | | | | | | This updates the bug tracker URL from http://rt.perl.org to https://rt.perl.org. There is a place in the code, in corelist.pl, that is sensitive to the URL of the bug tracker. This now understands both versions of the bug tracker URL. Ideally, this will be consolidated once the dust settles. This patch also updates ExtUtils::CBuilder, Safe, threads and threads::shared to point to the new bug tracker URL.
* Move http:// URLs to https:// URLs in source codeMax Maischein2019-10-111-2/+2
| | | | | | This commit moves more URLs from http to https. This time it affects some source code, that's why it is not bunched up with the commits affecting pod/*
* utils/h2xs.PL: Use L</Foo Bar>, not L<Foo Bar> in podKarl Williamson2019-05-251-1/+1
|
* perlbug.PL: Add L<> around a link in the podKarl Williamson2019-05-251-1/+1
|
* perlbug: Ask confirmation if would overwrite existing fileKarl Williamson2018-04-151-0/+4
| | | | | | This adds a prompt asking for confirmation if the perlbug report would overwrite an existing file. My guess is that the normal answer will be yes.
* Add support for --help and --version in perlbugTodd Rinaldo2017-11-101-10/+18
| | | | | | | RT 130032: Thanks to Houston Perl Mongers for contributing to this work at our monthly meeting! NPD
* utils/libnetcfg: fix 'do' without '.' in @INCDavid Mitchell2017-04-071-1/+1
| | | | | Note that this isn't normally executed during build, so it wasn't spotted earlier.
* Remove utils/c2ph and utils/pstructAbigail2017-01-162-1454/+4
| | | | | | | | | | These programs are the same, just behave differently depending on under which name you call it. This is a very old script, originally dating from the perl3 era. It has been deprecated in favour of h2xs for a long time. In Perl 5.26, these utilities will no longer be available.
* Switch most open() calls to three-argument form.John Lightsey2016-12-2324-57/+57
| | | | | | | | | | Switch from two-argument form. Filehandle cloning is still done with the two argument form for backward compatibility. Committer: Get all porting tests to pass. Increment some $VERSIONs. Run: ./perl -Ilib regen/mk_invlists.pl; ./perl -Ilib regen/regcharclass.pl For: RT #130122
* Patch unit tests to explicitly insert "." into @INC when needed.H.Merijn Brand2016-11-113-4/+4
| | | | | require calls now require ./ to be prepended to the file since . is no longer guaranteed to be in @INC.
* [perl #130001] h2xs: avoid infinite loop for enumsHugo van der Sanden2016-11-021-1/+1
| | | | | 'typedef enum x { ... } x' causes h2xs to enter a substitution loop while trying to write the typemap file.
* print the pop @INC to OUT instead of STDOUTJarkko Hietaniemi2016-07-291-1/+1
|
* (perl #127834) remove . from the end of @INC if complex modules are loadedTony Cook2016-07-268-1/+19
| | | | | | | While currently Encode and Storable are know to attempt to load modules not included in the core, updates to other modules may lead to those also attempting to load new modules, so be safe and remove . for those as well.
* perlbug: don't run editor when noninteractiveAaron Crane2016-05-171-2/+4
| | | | This fixes tests on Win32.
* perlbug: wrap overly long linesNiko Tyni2016-05-161-1/+12
| | | | | | | | | | | | | | | | | | | | | | Mail transport agents limit the length of message lines at SMTP time. One observed limit is 1000 characters per line. Mail user agents typically work around these limits by MIME-encoding the message. Since perlbug doesn't do that, it needs to limit the length of its lines manually to make sure bug reports get delivered. The longest lines in perlbug reports normally come from Config::myconfig output, particularly 'config_args', which has been observed to exceed 1000 characters on some configurations, causing report rejection. While less likely, the list of local patches is another potential source of overly long lines. Use Text::Wrap (if available) to wrap the body of the report at an arbitrarily chosen and hopefully safe limit of 900 characters. No indentation or continuation line markers are added, though it would be easy to add those if desired. Attachments and mail headers are not wrapped. Bug-Debian: https://bugs.debian.org/822463
* perlbug: Refactor duplicated file reading codeNiko Tyni2016-05-161-12/+13
| | | | | | _send_message_mailsend() needs to build the message itself rather than calling build_complete_message() like the other backends, but they can still share the file reading code, and so can the 'display report' part.
* perlbug: Allow subjects without whitespace in test modeNiko Tyni2016-05-161-1/+1
| | | | | Passing whitespace in an option through test.pl runperl() doesn't seem to work, so relax the check in test mode (-t) for noninteractive testing.
* perlbug: quit main loop on empty answer / eof in test modeNiko Tyni2016-05-161-1/+3
| | | | | | | | | | This makes it possible to drive perlbug noninteractively without having it go to an infinite loop on end of file. The change has no effect in non-test mode, where the default answer is the empty string. This is groundworks for perlbug unit tests.
* perlbug: Allow noninteractive use in test mode (-t option)Niko Tyni2016-05-161-1/+3
| | | | | | | | | | | This is groundworks for perlbug unit tests. Not all of the interactive questions can be overridden on the command line, so we will have to pipe in commands. Adapt the test mode ("-t"), which used to just override the recipient address, for this rather than inventing one more new option.
* Fix various pod errors.Karl Williamson2016-03-111-68/+68
| | | | Mostly these are too long verbatim lines.
* Integrate podlators 4.05.Craig A. Berry2016-01-303-109/+3
|
* Update podlators to version 4.03Karen Etheridge2016-01-013-3/+109
|
* add "what it does" comment to utils/enc2xs.PLDavid Mitchell2015-03-111-0/+3
| | | | | It's a bit confusing that a core .PL script is copying a cpan/ script to utils/, so document it.
* h2ph: correct handling of hex constants for the preambleTony Cook2015-02-171-1/+18
| | | | | | | | | Previously they were treated as identifiers resulting in code generated like C< &0xFFF >. We also try to prevent compile-time warnings from large hex integers, the user isn't responsible for the generated code, so we delay those warnings to run-time.
* Update Encode to CPAN version 2.70Chris 'BinGOs' Williams2015-02-062-3/+53
| | | | | | | | | | | | | | | | | | | | | | | [DELTA] $Revision: 2.70 $ $Date: 2015/02/05 10:53:00 $ ! Makefile.PL add bin/encguess to EXE_FILES 2.69 2015/02/05 10:35:11 ! bin/encguess Refactored so that * does not depend on non-core module (File::Slurp in particular) * PODified document * -s "encA encB" to -s encA,encB which is more shell-friendly * and more ! MANIFEST + bin/encguess Pulled: Added CLI wrapper for Encode::Guess https://github.com/dankogai/p5-encode/pull/32 ! Unicode/Unicode.pm Pulled: Bump $VERSION in module changed since Encode-2.60 https://github.com/dankogai/p5-encode/pull/31
* remove Module-Build from core perl distributionRicardo Signes2014-05-272-56/+3
|
* Attempt to satisfy CRLF expectations in perlbug on Windows.Craig A. Berry2014-04-101-0/+9
|
* Make perlbug encoding-agnostic in handling prepared reports.Craig A. Berry2014-04-101-6/+2
| | | | | | | | | | | | | | | | | | Guessing the encoding of a report file prepared ahead of time is really, well, too much guesswork, plus there are at least a couple of mistakes in the implementation. And we weren't even trying to guess for reports created on-the-fly in an editor, which is a bit inconsistent. So handle prepared reports the same way as on-the-fly reports and attachments, which means all I/O is done using the :raw layer. This is only "Unicode-aware" in the sense that we're aware there are a lot of encodings out there and we're trying not to mangle them in transit by accidental conversion. We're not doing any explicit character set conversions and we shouldn't assert in the MIME headers that we know what character set we're sending because we don't.
* Stop using $run for anything other than testing compiled tests in Configure.Jess Robinson2014-01-221-1/+1
| | | | When cross-compiling we want to run miniperl etc on the compile host, not the test target
* Make perlbug Unicode-aware.Craig A. Berry2014-01-171-10/+15
| | | | | | | | | | | | | | | | | | Try to do input in whatever the locale wants and output raw in hopes that will best survive mail transport. Except when reading in a patch file, we'll also use raw for input because there may be multiple encodings in the patch, and we'll also use raw for input when reading in the report file that we've written out raw. We attempt to detect the locale encoding using the private and undocumented _get_locale_encoding() function of the deprecated encoding pragma module. But it's what the open pragma does and we protect ourselves by checking that it's available and falling back to an empty layer specification ("<:") if we can't load that function. That should also give us something workable when there is no dynamic loading, such as under miniperl.
* Switch perlbug mail sender on VMS.Craig A. Berry2014-01-171-14/+19
| | | | | | | | | | | The VMS mail utility can't do attachments because it always adds a blank line in front of any headers you add. So use the Send From File utility, which has been documented and supported for any release in the last decade and was latently present before that. It takes the whole message verbatim just like sendmail, but also needs the envelope prepended.
* Add perlbug -p option for attaching patches.Craig A. Berry2014-01-171-14/+92
| | | | | | | | | | | Log files and other text attachments should also be fine as long as they aren't big enough to be rejected by RT. Only text attachments are supported, as other kinds would involve wrestling with myriad MIME types and possibly content transfer encodings. This should be fine for binary patches, though, as git format-patch encodes those in Base85, so the patch file itself is still text.
* do not have perlbug talk about perlthanksRicardo Signes2014-01-011-2/+1
|
* remove the claim that perlthanks gets an autoreplyRicardo Signes2014-01-011-2/+8
|
* PATCH [perl #120901] perlbug.PL - Add to user feedback/docsMartin McGrath2013-12-311-3/+12
|
* Generate utils/Makefile from utils/Makefile.PL, and remove it at clean time.Nicholas Clark2013-07-072-87/+8
| | | | | | | | Add rules to the Win32 Makefiles to call utils/Makefile.PL to generate utils/Makefile, and rules to both them and the *nix Makefile to delete the generated file as part of the cleanup targets. VMS continues to do its own thing, rather than using utils/Makefile.
* Replace utils/Makefile.SH with utils/Makefile.PLNicholas Clark2013-07-071-45/+24
| | | | | | | | | | | | | | | | | | | | | This shares all the existing deficiencies of utils/Makefile.SH, and generates a byte-for-byte identical utils/Makefile, including boilerplate that claims it was generated by utils/Makefile.SH utils/Makefile remains as a file checked into the repository, and is not (yet) deleted, because as-was only *nix platforms could run utils/Makefile.SH to generate utils/Makefile. This messy state of affairs means that if you build with static linking, the checked-out utils/Makefile is modified ('../miniperl' is replaced with '../perl') The next commit will resolve just these bugs. In turn, it seems that the pre-generated utils/Makefile is only used by Win32, as VMS contains rules in descrip_mms.template to build the utilities. Probably the next thing to unpick is the build on VMS, but it seems better to reduce the size of the "problem" in both utils/Makefile.PL and vms/descrip_mms.template by attempting to move the work from them to the extension directories and ExtUtils::MakeMaker.
* Make perlbug look up the list of local patches at run timeNiko Tyni2013-07-021-33/+6
| | | | | | | | Re-parsing patchlevel.h in Perl by perlbug.PL is error prone and apparently unnecessary. The same information is available to perlbug via Config::local_patches(). This fixes [perl #118433].
* h2xs: place for license for META.* filesAlexandr Ciornii2013-06-241-0/+3
|