summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Rename annex-review-unused to git-annex-reviewunusedSean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some parens to avoid perltidy inserting a spurious spaceSean Whitton2020-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-review-unused: Check whether unused files still exist earlierSean Whitton2020-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* prefix prompt_yn with an underscoreSean Whitton2020-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-review-unused: Always pass --force to 'git annex dropunused'Sean Whitton2020-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-review-unused: Add missing prompt_yn subroutineSean Whitton2020-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-to-annex-reinject: Add missing import of File::TempSean Whitton2020-03-18
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop some parensSean Whitton2020-03-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix some more paths, passed to --batch commandsSean Whitton2020-03-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-to-annex: Fix path when looking for missing filesSean Whitton2020-03-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-review-unused: 'b' should go back one entry not twoSean Whitton2020-02-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Fix logic in an example in Git::Annex::BatchCommand SYNOPSISSean Whitton2020-02-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add blank line for $VERSIONSean Whitton2020-02-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Revert "put Git::Annex::Wrapper in its own file"Sean Whitton2020-02-11
| | | | | | | | | This reverts commit b8dbaa0149d7f300a608bb1ee92178b29589617a. No-one should be instantiating this class so it probably shouldn't have a POD. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop usage of Moo for nowSean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* simplify BUILDARGS slightlySean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* put Git::Annex::Wrapper in its own fileSean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* avoid describing attributes as if they were methodsSean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add 'annex' attributeSean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* comment out Git::Repository instance for nowSean Whitton2020-02-08
| | | | | | | Git::Annex::BatchCommand is doing what I thought I would use the Git::Repository instance for. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* annex-to-annex-dropunused takes no arguments, so no arrayref eitherSean Whitton2020-02-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* document passing an arrayref of argumentsSean Whitton2020-02-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* option to populate @ARGV using an anonymous arraySean Whitton2020-02-08
| | | | | | | | | | | | | | Now Perl code can call our App:: code and simulate command line arguments by passing an arrayref. Note that we can't just say local @ARGV = @_ if @_; because then we can't distinguish between the intent to simulate passing zero command line arguments and a request to look to @ARGV. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* convert remaining two scripts to App:: modulesSean Whitton2020-02-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* convert annex-to-annex into an App:: moduleSean Whitton2020-02-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* convert annex-review-unused into an App:: moduleSean Whitton2020-02-07
| | | | | | | This solves the PATH problem of testing the right version of the scripts. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* improvements & tweaks to docsSean Whitton2020-02-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add pod testsSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use PodWeaverSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* avoid invoking the shell during constructorSean Whitton2020-02-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* shorten aliasSean Whitton2020-02-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* 'ask' aliasSean Whitton2020-02-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* change what Git::Annex:BatchCommand::say does in scalar contextSean Whitton2020-02-03
| | | | | | I believe this is more useful. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rise to top of working tree on Git::Annex initialisationSean Whitton2020-02-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add Git::Annex::BatchCommandSean Whitton2020-02-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add abs_contentlocationSean Whitton2020-02-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* tweakSean Whitton2020-02-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* ensure that Git::Annex toplevel is always an absolute pathSean Whitton2020-02-01
| | | | | | | | Avoids some problems with Git::Wrapper, which does not cope when the pwd changes but Git::Wrapper was initialised with a path relative to the old pwd. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* configuration to build distributions for upload to CPANSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add 'unused' method to Git::AnnexSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* _git_path does an implicit catfileSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add _store_unused_cache tooSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add .git dir utilsSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* tweakSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* basic Git::Annex wrapper class and project administriviaSean Whitton2020-01-31
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>