summaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* replace use of which(1) with call to 'command' shell builtinSean Whitton2021-09-29
| | | | | | This should be more portable, as 'command -v' is specified by POSIX. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Rename annex-review-unused to git-annex-reviewunusedSean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* skip most tests when git-annex not availableSean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* separate importsSean Whitton2020-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* perltidySean 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>
* 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>
* tighten perltidy exceptionSean Whitton2020-02-07
| | | | 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>
* skip some tests if we detect tmpfs device ID issuesSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add missing parensSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* test annex-to-annex-reinjectSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* tests for annex-review-unusedSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix typoSean Whitton2020-02-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add annex-to-annex{,-dropunused}Sean Whitton2020-02-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* instantiate test Git::Wrapper instances with an absolute pathSean Whitton2020-02-04
| | | | | | Prevents various possible failures. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use source2/other for abs_contentlocation testSean Whitton2020-02-04
| | | | | | baz is actually meant to be an unlocked file. 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>
* drop superfluous perltidy marksSean Whitton2020-02-03
| | | | 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>
* check that it is relaxed about dir existingSean Whitton2020-02-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* check toplevel is always absoluteSean 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>
* tests: use 'is'Sean Whitton2020-02-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add abs_contentlocationSean Whitton2020-02-02
| | | | 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>
* with_temp_annex -> with_temp_annexesSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* normalise use of ExporterSean Whitton2020-02-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out with_temp_annexSean 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>