summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-02-19Remove incorrect gettext package name overrideHEADmasterFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-02-19Fix broken croak callsFlorian Pritz3-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-06-06Dump package list as jsonFlorian Pritz1-1/+2
Makes processing in other scripts easier. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-25PackagerTools.t: Add Diff::Maint to test messageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-25Add integration testFlorian Pritz2-0/+157
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-25Make script logic testable by moving to main packageFlorian Pritz3-5/+29
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-25t/compile: Test compile all packagesFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-25Cache: Move CHI to depsFlorian Pritz1-8/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Extend pkgname/dist name mappingFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Move pkgname/cpan dist map to configurationFlorian Pritz2-5/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18CPAN: Cache module/dist indexFlorian Pritz1-43/+56
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Update META.jsonFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Config: Fix config file parsing and parser error handlingFlorian Pritz1-3/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Make allowed maintainers configurableFlorian Pritz2-3/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Config: Clarify timeout unitFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Config: Remove useless path() callFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18PackagesDetailsFetcher: Add missing use statementFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18WIP Add maintainer filteringFlorian Pritz4-1/+25
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-18Fetch maintainers from archwebFlorian Pritz5-12/+104
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17Remove cache size limitFlorian Pritz2-2/+0
The used key is incorrect and should have been 'max_size', but it's not needed yet so don't use it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17get_updateable_packages(): Improve readabilityFlorian Pritz1-5/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17PackagesDetailsFetcher: Cache 02packagesFlorian Pritz2-14/+14
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17Config: Load config from file only onceFlorian Pritz1-1/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17Make context parameter explicitFlorian Pritz6-32/+31
This prevents a loop in $deps->{..}->{context} which is 1) unnecessary and 2) potentially breaks memory recovery when things get deleted. Not the case right now, but whatever. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17WIP Add cacheFlorian Pritz5-2/+90
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17Add debug logging to CPAN constructorFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17Initialize context in top level packageFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-17Use context variable to track singletonsFlorian Pritz4-6/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16CPAN: Build dist index lazilyFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16WIP Add configuration classFlorian Pritz4-4/+92
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16Remove implemented TODOFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16Remove implemented TODOFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16Move CPAN 02packages code to dedicated classFlorian Pritz2-15/+78
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16WIP Add back cpanplus packages index codeFlorian Pritz1-4/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-16WIP get_maintainerFlorian Pritz3-2/+53
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-10Update generated filesFlorian Pritz2-6/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-10Add logging in get_updateable_packages()Florian Pritz1-2/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-10Fix incorrect example for get_updateable_packages()Florian Pritz3-14/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Remove IO::Zlib from cpanfileFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Use zcat instead of IO::ZlibFlorian Pritz1-2/+1
Apparently IO::Zlib is quite slow compared to zcat and other modules aren't supposed to be much faster. Also this gives us free multithreading. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Add reverse mapping of dist to pkgnameFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Batch calls to expac for performanceFlorian Pritz2-3/+69
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Add missing use statementFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Add debug output to CPAN index generationFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Update autogenerated READMEFlorian Pritz1-0/+21
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-19Add documentationFlorian Pritz3-31/+144
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-18Implement basic check for upgradable packagesFlorian Pritz8-8/+448
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-11-17initial commitFlorian Pritz11-0/+899
Signed-off-by: Florian Pritz <bluewind@xinu.at>