Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | import_orig: Move upstream-vcs-tag's help to config | Guido Günther | 2019-04-26 |
| | | | | This way it can be shared. | ||
* | import-orig: Allow to run a post unpack hook | Guido Günther | 2019-04-25 |
| | | | | | The working directory of the hook is the top temporary directory the tarballs are being unpacked into. | ||
* | import-orig: rename sourcepackage to name | Guido Günther | 2018-11-24 |
| | | | | since it's the source package's name | ||
* | import-orig: Allow to import the requested version with --uscan | Mathieu Parent | 2018-08-24 |
| | | | | Closes: #741148 | ||
* | import-{dsc,orig}: Make --download deprecation text more useful | Chris Lamb | 2018-06-05 |
| | | | | | | | | Point to the manpages for usage examples. Closes: #900606 Signed-off-by: Guido Günther <agx@sigxcpu.org> | ||
* | Move rollback code out of import_orig | Guido Günther | 2018-02-26 |
| | | | | so it can be reused in gbp import-ref | ||
* | 8bit Guido | Guido Günther | 2018-02-26 |
| | |||
* | uscan: disentangle logic a bit | Guido Günther | 2017-11-23 |
| | |||
* | import-orig: use separate exit code when uscan did not find anything new | Guido Günther | 2017-11-21 |
| | |||
* | import-orig: avoid not | Guido Günther | 2017-11-21 |
| | | | | Gbp-Dch: Ignore | ||
* | import_orig: drop debian/ again in --merge-mode=replace | Guido Günther | 2017-11-16 |
| | | | | | | | Another fallout of the Python3 conversion Closes: #881750 Thanks: Víctor Cuadrado Juan for providing a nice reproducer | ||
* | import-orig: avoid master branch when importing into empty repo | Guido Günther | 2017-11-07 |
| | | | | | We dont't want a master branch if debian-branch != 'master'. This change can't be rolled back but that doesn't matter much in an empty repo. | ||
* | import-orig: don't fail when importing unpacked dirs | Guido Günther | 2017-11-07 |
| | | | | We need to return a tuple | ||
* | import-orig: Run the hook on all succesful imports | Guido Günther | 2017-11-07 |
| | | | | So far we would skip it on initial imports which is pointless. | ||
* | import-orig: move rollback into separate function | Guido Günther | 2017-11-07 |
| | | | | | | This keeps main smaller and expresses our intend. Gbp-Dch: Ignore | ||
* | Fix comment | Guido Günther | 2017-10-23 |
| | | | | Gbp-Dch: Ignore | ||
* | import-orig: rename source to upstream | Guido Günther | 2017-09-30 |
| | | | | | | to avoid confusion with DebianSource. Gbp-Dch: Ignore | ||
* | import-orig: roll back on CTRL-C too | Guido Günther | 2017-09-29 |
| | |||
* | import_orig: be more descripte what we're "using" | Guido Günther | 2017-09-07 |
| | |||
* | Spell pristine_tar consistently | Guido Günther | 2017-08-23 |
| | |||
* | import_orig: use a more gittish commit message | Guido Günther | 2017-08-07 |
| | | | | | | | When replacing the debian/ dir don't used past tense and keep the subject more like git-merge. Closes: #867214 | ||
* | test_import_orig: properly pick debian dir | Guido Günther | 2017-08-02 |
| | |||
* | Python3: Fix doctest exception names | Guido Günther | 2017-08-02 |
| | | | | Python3 prefixes the module names | ||
* | New command 'pristine-tar' | Guido Günther | 2017-06-26 |
| | | | | | | | | | This allows one to run the pristine-tar import at a later point. This is useful when using component tarballs and we need to reference the right trees for the commits. The command can later be extended to allow for "export" as well to recreate the tarballs without having to invoke "gbp buildpackage". | ||
* | Fix typos in comments | Guido Günther | 2017-06-23 |
| | |||
* | import-orig: move unpacking code to separate function | Guido Günther | 2017-04-23 |
| | | | | Gbp-Dch: Ignore | ||
* | Drop long deprecated --no-dch | Guido Günther | 2017-04-23 |
| | |||
* | import_orig: move postimport_hook to separate function | Guido Günther | 2017-04-12 |
| | | | | Gbp-Dch: Ignore | ||
* | ipmort_orig: pick best way to import upstream tarball automatically | Guido Günther | 2017-04-12 |
| | | | | | | | Add new value --merge-mode=auto that selects either 'replace' or 'merge' depending on the source format version. Closes: #700411 | ||
* | import_orig: move merge function closer next to each other | Guido Günther | 2017-04-12 |
| | | | | Gbp-Dch: Ignore | ||
* | GitRepository: add is_in_merge() | Guido Günther | 2017-04-04 |
| | |||
* | repo.git_dir is not a function | Guido Günther | 2017-04-03 |
| | | | | Gbp-Dch: Ignore | ||
* | import-orig: only abort merge if it got started | Guido Günther | 2017-04-03 |
| | | | | | | | This might not be the case when there are e.g. files that would be overwritten by the merge in the workig copy Closes: #859439 | ||
* | import-orig: Move orig.tar.gz with filter-pristine-tar | Guido Günther | 2017-01-11 |
| | | | | | | | | | | | | If we filter a tarball and use filter-pristine-tar we want pristine-tar to see the correct file name. If a file already exists at that location move it. If we wouldn't move the existing tarball but rather e.g. create the symlink in a temp directory we risk gbp buildpackage picking up the unfiltered tarball later. Closes: #558777 | ||
* | import_orig: Delay unpack of component tarballs | Guido Günther | 2017-01-11 |
| | | | | | | | | Instead of unpacking them right away first repack the filtered tarball so the component tarballs don't end up in the main tarball when using filters. Closes: #840602 | ||
* | import-orig: Make sure we exit non zero | Guido Günther | 2017-01-11 |
| | | | | | Although none of the callers returns None but raises an exception this is more defensive. | ||
* | Deprecate --download in import_srpm too | Guido Günther | 2017-01-01 |
| | |||
* | import-orig: determine download automatically | Guido Günther | 2016-12-26 |
| | |||
* | Use compact forms of logging functions | Guido Günther | 2016-12-26 |
| | |||
* | Fix new flake8 errors | Guido Günther | 2016-11-15 |
| | | | | E305 expected 2 blank lines after class or function definition | ||
* | import_orig: flake8 clean | Guido Günther | 2016-09-12 |
| | |||
* | import_orig: Use gbp.scripts.common.hook | Guido Günther | 2016-09-12 |
| | |||
* | pep8/pyflakes cleanups | Guido Günther | 2016-09-12 |
| | |||
* | import_orig: Properly abort merge on rollbacks | Guido Günther | 2016-08-26 |
| | | | | If merging fails we need to call "git merge --abort" | ||
* | import-orig: export version information to postimport hook | Guido Günther | 2016-08-04 |
| | | | | Closes: #833429 | ||
* | import_orig: Only try rollbacks if necessary | Guido Günther | 2016-07-31 |
| | | | | | | | | | If the list of possible rollbacks is empty don't print confusing messages to the user like: gbp:error: No archive to import specified. Try --help. gbp:error: Error detected, Will roll back changes. gbp:error: Rolled back changes after import error. | ||
* | import-orig: Switch to Debian branch before merging in changes | Guido Günther | 2016-07-21 |
| | | | | | | otherwise we'd always merge into the current working copy Closes: #832016 | ||
* | Improve check for empty_repository | Guido Günther | 2016-07-05 |
| | | | | | | Bases on a patch by Carlos Maddela Closes: #791472 | ||
* | import_orig: Drop duplicate log message when rolling back a branch | Guido Günther | 2016-07-05 |
| | |||
* | Give more instructions when config is unparseable | Guido Günther | 2016-07-04 |
| | | | | | | | | and make return codes and messages consistent. This allows us to move some test code from the component tests to the unit tests which is always nice. Closes: #733640 |