aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/import_srpm.py
Commit message (Collapse)AuthorAge
* 8bit GuidoGuido Günther2018-02-26
|
* import-srpm: support --upstream-vcs-tag cmdline optionMarkus Lehtonen2018-01-22
| | | | | | Similar to what the option does in git-import-orig. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-srpm: implement --skip-packaging-tag optionMarkus Lehtonen2018-01-22
| | | | | | Corresponding the --skip-debian-tag options of import-dsc. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-srpm: change commit message of native sourcesMarkus Lehtonen2018-01-22
| | | | | | | Include the full package version in the commit message for native packages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-srpm: minor code refactorMarkus Lehtonen2018-01-22
| | | | | | Trying to make the code a bit easier to comprehend. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Kill six.movesGuido Günther2017-10-20
|
* Correct "allow to" typos.Chris Lamb2017-08-06
|
* pkg: clear __init__.pyGuido Günther2017-08-03
| | | | for readability
* Deprecate --download in import_srpm tooGuido Günther2017-01-01
|
* Only set username and email when creating reposGuido Günther2016-12-21
| | | | Don't modify existing ones.
* gbp clone: configure user.email, user.name from DEBEMAIL/DEBFULLNAMEMichael Stapelberg2016-12-19
| | | | | | Signed-off-by: Guido Günther <agx@sigxcpu.org> Close: #845536
* import_srpm: Drop epoch tooGuido Günther2016-12-07
| | | | | | Upstream tags are without epoch so we need to filter that out too. Thanks: Tzafrir Cohen
* import_srpm: flake8 cleanGuido Günther2016-12-05
|
* import_rpms: use upstream version for upstream tagGuido Günther2016-12-05
| | | | Closes: #846936
* import_srpm: allow for more than one argumentGuido Günther2016-12-04
| | | | | | otherwise giving a target dir always raises an error (introduced by 03276df5b9391dc877521cd6c3553ca071157991)
* Add ability to specify the clone target to gbp-import-{dsc,srpm}Chris Lamb2016-12-04
| | | | | Closes: #846567 Signed-off-by: Chris Lamb <lamby@debian.org>
* Fix new flake8 errorsGuido Günther2016-11-15
| | | | E305 expected 2 blank lines after class or function definition
* Give more instructions when config is unparseableGuido Günther2016-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
* Use imperative for for git messagesGuido Günther2016-07-03
| | | | as suggested in gh:#26.
* Update exception syntaxGuido Günther2015-10-27
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* Rewrite gbp.tmpfileMarkus Lehtonen2015-08-19
| | | | | | | | | | | | | | | | | | This commit changes the tmpfile module to only contain minimal init_tmpdir() and del_tmpdir() functions, intended to be called at the beginning and end of the scipts. The init function creates a base tempdir and configures the Python tempfile module to use that as the (default) directory for temporary files and directories. Correspondingly, the del function removes the base tempdir and restores the configuration of the tempfile module. The new logic ensures that all temporary files/directories will be created in the desired base tempdir (assuming that no 'dir' argument is given to the tempfile functions). The base tempdir is not removed by del_tmpdir() if a non-empty value of GBP_TMPFILE_NOCLEAN is found in environment. This can be useful e.g. in debugging. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Fix urllib.urlopen importGuido Günther2015-07-08
| | | | six.moves.urllib.urlopen does not exist
* Fix FSF address - thanks rpmlintEvgeni Golov2015-06-22
| | | | use gnu.org/licences instead of a postal address, as suggested by Guido
* Make urllib invocations Python3 compatibleGuido Günther2015-06-10
| | | | Git-Dch: Ignore
* Extract exception message in a less arcane wayGuido Günther2015-03-27
|
* Handle ConfigParser -> configparser renameGuido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* import-srpm: support gbp-config commandMarkus Lehtonen2015-02-18
| | | | | | | Slight refactoring of argument parsing so that the gbp-config command is able to show the config values. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Make Debian and Git spelling consistentGuido Günther2015-01-22
|
* Unify doc strings a bitGuido Günther2014-08-23
| | | | since they now show up with --list-cmds
* import-srpm: add 'vendor' config optionMarkus Lehtonen2014-07-24
| | | | | | | | | Intended to represent the distribution vendor (e.g. 'Debian'). Currently, this can be used in tag format strings. NOTE: the vendor name is converted to lowercase when used in tag names. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Introduce git-import-srpm toolMarkus Lehtonen2014-07-24
Initial version of the git-import-srpm: a tool for importing source rpms. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>