summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Source/Package/V3/Git.pm
AgeCommit message (Collapse)AuthorFilesLines
2017-10-17Dpkg::Source::Package: Call source format prerequisites method if presentGuillem Jover1-1/+1
We want to be able to check for prerequisites when loading the source format module. That function used to be called import, which is a misnomer here, and was not being invoked. Rename it to the more appropriate prerequisites() and call it if it's present from the module loading code. Addresses: #877688
2017-10-17Dpkg::Source::Package::V3: Use find_command() instead of ad-hoc codeGuillem Jover1-5/+2
2016-10-30Dpkg::Source::Package: Prefix private functions with _Guillem Jover1-3/+3
2016-07-03dpkg-source: Add new --no-overwrite-dir extraction optionGuillem Jover1-1/+5
Closes: #826334
2016-02-15dpkg-source: Add backend-specific --help options supportGuillem Jover1-0/+20
This will print source format specific options depending on the --format version specified.
2015-05-30scripts, dselsect/methods: Switch from `` to operator qx()Guillem Jover1-1/+1
2015-04-10Consistently use proper quotation marks all over the placeGuillem Jover1-4/+4
That is "" or '', and not the unbalanced `' pair.
2015-03-30perl: Rework use and exporter declarationsGuillem Jover1-2/+2
Place 'use' strict and warnings first, then Exporter 'our' declarations, then Test module imports, then system module imports, then Dpkg module imports, then 'use' parent and overload pragmas, separated by a blank line for each block. Split each exported symbol declaration into its own line to ease modifications.
2015-01-28scripts: Remove unused «use Dpkg»Guillem Jover1-1/+0
2015-01-28scripts: Rename and deprecate _g function with g_Guillem Jover1-18/+18
The old function name was inconsistent with the other gettext family of short aliases which has already caused some code typos, and functions starting with underscore are considered by convention private in Perl.
2014-04-21scripts: Localize $_ in functions with while (<$fh>) style loopsGuillem Jover1-1/+3
This way we make sure we don't affect the $_ value for the caller, in case it was being used.
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2013-12-04perl: Switch to use low precedence boolean operators for error checksGuillem Jover1-9/+7
This will make it safe to remove parenthesis around builtins.
2013-12-04perl: Try to avoid boolean operators after predicates on error checksGuillem Jover1-5/+5
Using boolean operators after predicates for error checking makes the code flow slightly confusing, do that only after actions, to check if they succeeded and error out otherwise.
2013-11-24Consistently use regex instead of regexp when possibleGuillem Jover1-3/+3
All changed instances are documentation or private code interfaces. The only remaining variable instance with a regexp name is a publicly exposed variable, which will eventually disappear once it has gone through the deprecation process.
2013-11-24Dpkg::Exit: Expose proper functions instead of variablesGuillem Jover1-3/+3
Add new functions to interact with the exit handlers. Mark @handlers as deprecated and to stop exporting it on VERSION 2.00. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic
2013-07-08Dpkg::Source::Package: Do not return an error message if we can buildGuillem Jover1-1/+3
2013-06-22scripts: Inherit from parent instead of baseGuillem Jover1-1/+1
Use the lightweight parent instead of the bloated base.
2013-06-22Dpkg::Source::Package: Capitalize variant module namesGuillem Jover1-0/+235
Lowercase module names are reserved by convention for pragmas, and there's really no need to diverge here from the general dpkg project naming convention. Also make sure source package format variant names are always in lowercase, to not allow names that would not work with previous dpkg-source versions. Fixes NamingConventions::Capitalization.