summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* changelog: gardeningIan Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Call t-ok.Ian Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: More testing of clone: check for message (#851624)Ian Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: clonee: Do setup_new_tree earlier.Ian Jackson2017-01-17
| | | | | | | This avoids printing a spurious warning about actually-defused gitattributes when cloning. Closes:#851624. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: More testing of clone: check good cloneIan Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: work around git attribute updates bugIan Jackson2017-01-17
| | | | | | touch af/*, to work around #851713 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: More testing of clone: check sumsIan Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Start to test cloneIan Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Break out sums_check_brokenIan Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Defuse gitattributes in private working area, alwaysIan Jackson2017-01-17
| | | | | | | Even if we don't do it in the user's tree because config setup-gitattributes=false. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Improve comment left in .git/info/attributes.Ian Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Check that warning does not appear when unexpectedIan Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Break out t-dgit-warn-checkIan Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Break out wd= settingIan Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Test that checkout is good tooIan Jackson2017-01-17
|
* test suite: gitattributes: Break out sums_checkIan Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Rename $branch (from $refname)Ian Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Move setting of sumsIan Jackson2017-01-17
| | | | | | Fixes some of the working filenames. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Call t-git-noneIan Jackson2017-01-17
| | | | | | | This is preparatory to testing clone. No significant effect right now. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Break out origtar= settingIan Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Fix a ----- messageIan Jackson2017-01-17
| | | | | | No significant change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Break out dscf= settingIan Jackson2017-01-17
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: start 3.5~Ian Jackson2017-01-17
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: finalise 3.4debian/3.4archive/debian/3.4Ian Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: worktrees: Replace references to /home/ianIan Jackson2017-01-16
| | | | | | | | | | Replace with references to /nonexistent, to catch inadvertant accesses. Now `git-grep /home/ian' produces only one hit - in a commit message, where it's harmless. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite; drs-push-rejects: Set origin's urlIan Jackson2017-01-16
| | | | | | | | | Use an ad-hoc expression which produces the right ext:: rune, as dgit would. Closes:#851580. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: start 3.4~Ian Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: finalise 3.3debian/3.3archive/debian/3.3Ian Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: try to guess some attr names from manpageIan Jackson2017-01-16
| | | | | | | This may allow the test suite to detect if git gains new attributes. The worst case is that we add unknown attributes to our test package. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Document gitattributes handlingIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): gitattributes: Document dgit-distro.distro.setup-gitattributesIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* gitattributes: Docs and message wordsmithingIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Check for expected warningsIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* gitattributes: Issue a warning on un-defused .gitattributesIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Remove .git from origIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: test unsetup tree, tooIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Test source format 1.0 with diffIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: Reorganise and improve, still wipIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gitattributes: new test, still wipIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* gitattributes: dgit: setup-gitattributes: New actionIan Jackson2017-01-16
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* gitattributes: Suppress transformations in our cloned treesIan Jackson2017-01-16
| | | | | | | The user wants a checkout of the actual source tree, so that their checkout and the source package are identical. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* gitattributes: Suppress transformations in udIan Jackson2017-01-16
| | | | | | | | | | We want all of our own manipulations to be unaffected by gitattributes transformations, so that the imported git *trees* are identical to the source packages. (Ie, if transformations are in effect, the *checkout* of such a tree might not be identical to the source package.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: gitattributes: Provide setup_gitattrs (internal function)Ian Jackson2017-01-16
| | | | | | | This is the idempotent function which adds the appropriate runes to .git/info/attributes. No callers yet. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* gitattributes: dgit(7): Document our approach and rationaleIan Jackson2017-01-16
| | | | | | This is not properly implemented yet. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: import_dsc: Break out import_dsc_resultIan Jackson2017-01-16
| | | | | | No functional change other than slight change to messages. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Remove redundant use of List::Util qw(any). Closes:#851280.Ian Jackson2017-01-13
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: protocol-compat: check that we use the right distroIan Jackson2017-01-13
| | | | | | | | | | | | | | | | * Set distro to '' when running the import. This makes dgit fall back to the default distro. * Set the default distro to `foreign' (which has no settings, so we use builtin defaults). This only has any effect if the shell variable `distro' is set to the empty string - so it only takes effect during the import. * Set dgit-distro.foreign.cmd-git to false. This therefore detects if we ever try to do the import with the default distro's `git' command: we are supposed to be using the one from the .dsc. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Option parsing: Fix undefined $suite in some import-dsc.Ian Jackson2017-01-13
| | | | | | | | | | | | | | | | | | | | | | | * Set $isuite to a dummy value. In import-dsc we aren't operating on a suite. We have to set it to something (because the config likes to look at the suite) and this avoids picking up information relating to the default suite. * Set $idistro (if -d not supplied) to the distro from (or implied by) the .dsc. This is needed so that we do not use any config from the default distro. In particular, the default commands (like what `git' command to use to access the dgit git server) need to be found via the dsc's distro's cmd-git setting, and this is done by parseopts_late_defaults() in pushing(). So we must set $idistro before then. * Move notpushing earlier, so that we call it before we call resolve_dsc_field_commit(). (It doesn't matter there for $idistro, because it sets that itself, but the git command does.) Closes:#851213. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Internal change: fix handling of nonempty distro=Ian Jackson2017-01-13
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: defdistro-import-dsc: Drop this test.Ian Jackson2017-01-13
| | | | | | | | | | import-dsc *should* access the default distro for cmd-dgit et al. (Many of the things in parseopts_late_defaults.) Checking that we use the right distro config is going to be done shortly by protocol-compat. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>