Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make requirement on rpm-build strong on OpenSUSE #1

Open
wants to merge 150 commits into
base: experimental-rpm
Choose a base branch
from

Commits on Dec 9, 2015

  1. buildpackage-rpm: support setting the 'VCS:' tag in spec

    Git-buildpackage-rpm now always updates the 'VCS:' tag in the exported
    spec file. A new config option 'spec-vcs-tag' controls the format:
    - if empty, no 'VCS' tag is inserted and possible old 'VCS' tag is
      removed
    - otherwise, a 'VCS' tag is inserted or the old 'VCS' tag is updated
    
    - '%(tag)s' expands to the long tag name (from git-describe)
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    0b97686 View commit details
    Browse the repository at this point in the history
  2. buildpackage: introduce --git-ignore-untracked

    Add a new commandline option to ignore untracked files. Untracked files
    are ignored and do not cause an error. However, an error is given if
    there are changes to tracked files.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    3253748 View commit details
    Browse the repository at this point in the history
  3. config: support for per-tree config files

    Add support for reading the local config file(s) from a given git
    tree-ish.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    c7a2b62 View commit details
    Browse the repository at this point in the history
  4. buildpackage: read local config from the exported tree

    Read the local gbp config (.gbp.conf, debian/gbp.conf) from the exported
    tree instead of the current working copy. This makes sure that we build
    correctly even if building something else than the current working copy.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    b5f2942 View commit details
    Browse the repository at this point in the history
  5. tests: test --no-build option of buildpackage-rpm

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    7aab8d6 View commit details
    Browse the repository at this point in the history
  6. GitRepository.add_files: use GitArgs

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    4891aa8 View commit details
    Browse the repository at this point in the history
  7. GitRepository.add_files: consistently update ALL tracked files

    Use the --all option of git-add so that all tracked files are updated in
    all conditions. Previously deletion of tracked files was not staged, for
    example.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    0380bc3 View commit details
    Browse the repository at this point in the history
  8. GitRepository/add_files: add new option 'untracked'

    With this option you can either only update already tracked files to
    index the (untracked=False) or add new files, too.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    1dcb71b View commit details
    Browse the repository at this point in the history
  9. buildpackage: add 'untracked' option to write_wc()

    Whether to ignore untracked files (untracked=False) or not
    (untracked=True). Now, clones the temporary index file from the actual
    index, in order to correctly update files.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    Signed-off-by: Ed Bartosh <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    955aada View commit details
    Browse the repository at this point in the history
  10. buildpackage: new "working copy" choices for --git-export

    Add support for building different kind of "working copies", when using
    the --git-export option:
    - 'WC.TRACKED': only take files that are already tracked
    - 'WC.UNTRACKED': take untracked files, too
    - 'WC.IGNORED': also add files that'd normally be ignored
    
    Using '--git-export=WC' behaves like before.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    9464fda View commit details
    Browse the repository at this point in the history
  11. buildpackage-rpm: new keywords for packaging tag

    Add new possible keywords to be used in packaging-tag format string:
    'nowtime', 'authortime', 'committime', 'nowtimenum', 'authortimenum' and
    'committimenum'.
    
    The '*timenum' keyword denote the corresponding '*time' keyword appended
    with an additional incremental serial number. E.g. if 'nowtime' would
    produce '20120531', 'nowtimenum' would (the first time) produce
    '20120531.1'. If a new tag would be created on the same date, the field
    would expand to '20120531.2' etc.
    
    What is completely missing is a way to support these new tag keywords in
    git-import-srpm tool. So, if you use these tags, git-import-srpm is not
    able to reproduce the tags, (and, it is not necessarily able to
    correctly tell if you've already imported a certain version of the
    package).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    7433d92 View commit details
    Browse the repository at this point in the history
  12. Command: redirect stdout/stderr to sys.stdout/stderr

    Redirect stdout and stderr of the (child) command to sys.stdout and
    sys.stderr of the caller, respectively. This change is mainly for the
    unit tests. It makes Python nose to correctly capture the output of the
    child command, too, which in turn suppresses a lot of spurious output
    when running nosetests.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    4d9d8c8 View commit details
    Browse the repository at this point in the history
  13. tests: capture stderr in buildpackage-rpm unit tests

    Reduces spurious output from rpmbuild.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    959b075 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2015

  1. import-srpm: more consistent packaging/upstream tag formatting

    Separate keywords for packaging and upstream tag names. Also, add more
    tests for tagging options.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4c33e9b View commit details
    Browse the repository at this point in the history
  2. rpm packaging: direct dependency to zipmerge binary

    The name of the package containing zipmerge varies, e.g. 'libzip' in
    Fedora 22 vs. 'libzip-tools' in Fedora 23.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    9cc4eac View commit details
    Browse the repository at this point in the history
  3. import-srpm: implement --skip-packaging-tag option

    Corresponding the --skip-debian-tag options of import-dsc.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4aed44c View commit details
    Browse the repository at this point in the history
  4. pq: make sure we always get a sane author

    Prevent a crash when the author (for a raw diff) was None because no
    name/email could be determined from git config or environment variables.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    5b14c37 View commit details
    Browse the repository at this point in the history
  5. rpm packaging: update dependencies for unittests

    Add some missing (build) dependencies if unit tests are enabled as part
    of the build process.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    1cf9dec View commit details
    Browse the repository at this point in the history
  6. import-srpm: support --upstream-vcs-tag cmdline option

    Similar to what the option does in git-import-orig-[rpm].
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6798e1c View commit details
    Browse the repository at this point in the history
  7. gbp-pull: implement --all cmdline option

    This updates all remote-tracking branches (for the remote that is
    fetched from) whose local branch name is identical to the remote branch
    name.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    a4c2529 View commit details
    Browse the repository at this point in the history
  8. GitRepository: implemet checkout_files() method

    Makes it possible to only checkout certain files from a branch, instead
    of switching to the branch. Add a new method instead of extending
    checkout() in order to keep it consistent. That is, otherwise checkout()
    would have totally different outcome depending on whether paths were
    defined of not.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    cad47b0 View commit details
    Browse the repository at this point in the history
  9. gbp-pull: similar update strategy for all branches

    Treat non-checked-out branches similarly to the current branch when
    forcing update. That is, do git merge, instead of just setting the ref.
    
    Also, renames fast_forward_branch() to update_branch() to better match
    the functionality.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4d711e3 View commit details
    Browse the repository at this point in the history
  10. pq-rpm: implement '--import-files' command line option

    The new option can be used to "copy" files from the packaging branch to
    the patch-queue branch when doing pq import. The files defined with this
    option will appear as new files in one monolithic commit in the
    development/patch-queue branch.
    
    By default, the local gbp conf files are imported in order to try to
    ensure that gbp sees the same settings on the patch-queue branch as
    on the packaging branch.
    
    NOTE: This option does not affect the importing (i.e. apply and commit)
    of patches.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    91fba16 View commit details
    Browse the repository at this point in the history
  11. GitRepository: allow repo inititialization from subdir

    This allows initialization of a GitRepository object, even if the
    current working directory (or path given to GitRepository) is not the
    top level directory of the git repository.
    
    Don't guess the git meta data dir, but, take it as reported by git
    itself.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    60af63e View commit details
    Browse the repository at this point in the history
  12. GitRepository: new method for getting git output as generator

    Add a new _git_inout2() helper method that returns the git output
    (stdout) as a generator - instead of all stdout data in one string.
    Useful for handling git commands that are expected to have a lot of
    stdout data, like git-archive.
    
    Also, changes the private __git_inout() method to return a generator.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    52446d2 View commit details
    Browse the repository at this point in the history
  13. GitRepository.__git_inout: prevent blocking of stdin

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    59e54fe View commit details
    Browse the repository at this point in the history
  14. GitRepository.archive: support getting tar data as return value

    Return tar data as a generator object, if the 'output' option is not
    defined.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4bf968c View commit details
    Browse the repository at this point in the history
  15. GitRepository.archive: add 'paths' option

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    476af61 View commit details
    Browse the repository at this point in the history
  16. buildpackage/dump_tree: use GitRepository.archive()

    Make dump_tree() utilize the GitRepository.archive() method - similarly
    to git_archive_submodules() - instead of ad-hoc Python pipes. This makes
    dump_tree() work independent of the callers current working directory.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    0170968 View commit details
    Browse the repository at this point in the history
  17. pq: allow running actions in repo subdir

    This should make the usage of gbp-pq more flexible and prevent mistakes
    caused by e.g. running gbp-pq import under some subdirectory.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    aa22ca8 View commit details
    Browse the repository at this point in the history
  18. pq-rpm: implement --drop option

    Makes it possible to automatically drop the pq-branch after a successful
    export. Counterpart for the --drop option of (deb) gbp-pq.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    33e604a View commit details
    Browse the repository at this point in the history
  19. Merge branch 'feature/misc'

    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4b0057b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    815a84f View commit details
    Browse the repository at this point in the history
  21. Merge branch 'feature/pq-rpm'

    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    9597eaf View commit details
    Browse the repository at this point in the history
  22. Merge branch 'feature/buildpackage-rpm'

    Signed-off-by: Markus Lehtonen <[email protected]>
    
    Conflicts:
    	gbp/config.py
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    f457983 View commit details
    Browse the repository at this point in the history
  23. log: don't automatically setup gbp-specific logger

    This makes it nicer to use gbp.* modules (e.g. gbp.git) in other
    software projects which may have their own logging setup. After this
    change, just importing gbp.* modules won't forcibly setup gbp-specific
    logging. However, gbp logging is initialized whenever the
    gbp.log.getLogger function is called which makes logging in existing gbp
    commands behave just like before.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6efe332 View commit details
    Browse the repository at this point in the history
  24. log: don't propagate to ancestor loggers

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    c5f6a17 View commit details
    Browse the repository at this point in the history
  25. Change compressor cmdline opts in compressor_opts to a list

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    666e39e View commit details
    Browse the repository at this point in the history
  26. buildpackage/git_archive_single: use GitRepository.archive()

    Use GitRepository.archive() method like git_archive_submodules() does.
    This makes it possible to call git_archive_single() independent of the
    callers current working directory.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    f98fe7b View commit details
    Browse the repository at this point in the history
  27. common/buildpackage: use GitRepository for submodules

    Initialize a GitRepository object for each submodule in
    git_archive_submodules().
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b507ff4 View commit details
    Browse the repository at this point in the history
  28. GitRepository.archive: drop the '**kwargs' argument

    Unused and misleading.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d033173 View commit details
    Browse the repository at this point in the history
  29. buildpackage: refactor tarball compression

    Introduce a new function for running the compressor commands. Unifies
    exception/error handling - GbpError will be returned if the compressor
    fails.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    75955f2 View commit details
    Browse the repository at this point in the history
  30. GitRepository: allow interactive commands

    Make it possible for git commands to output directly to stdout without
    redirection (i.e. capturing their stdout stream).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    a8ffe6a View commit details
    Browse the repository at this point in the history
  31. GitRepository: fix the 'edit' mode in commit methods

    Previously the editor would not show in the shell because stdout was
    captured.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b780127 View commit details
    Browse the repository at this point in the history
  32. GitRepository: implement create_tree method

    New method for creating tree objects from a directory content.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    a599ff4 View commit details
    Browse the repository at this point in the history
  33. GbpOptionParser: allow using the default 'dest' attribute

    Make it possible to add options without explicitly defining the 'dest'
    attribute - in which case the default of OptionParser is used.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    2952566 View commit details
    Browse the repository at this point in the history
  34. GitRepository.commit_files: add committer_info argument

    For setting the committer name/email/date - similarly to author_info.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    296d0d1 View commit details
    Browse the repository at this point in the history
  35. GitRepository.commit_all: add committer_info argument

    For setting the committer name/email/date - similarly to author_info.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    bc38977 View commit details
    Browse the repository at this point in the history
  36. GitRepository.commit_files: add edit argument

    In order to be able to spawn an editor, similarly to other commitX
    methods in GitRepository.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    11d914e View commit details
    Browse the repository at this point in the history
  37. GitRepository/git_command: strip stderr output in case of error

    In order to get rid of extra line feeds in exception message.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    bf8895e View commit details
    Browse the repository at this point in the history
  38. GitRepository/rev_parse: use _git_inout()

    instead of the deprecated _git_getoutput() method.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    0053776 View commit details
    Browse the repository at this point in the history
  39. GitRepository: raise GitRepositoryError instead of GbpError

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d661892 View commit details
    Browse the repository at this point in the history
  40. gbp.git: Reimplement rfc822 date parsing without dateutil

    In order to get rid of dependency to dateutil.
    
    Signed-off-by: Ed Bartosh <[email protected]>
    Signed-off-by: Markus Lehtonen <[email protected]>
    bart0sh authored and marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    073a503 View commit details
    Browse the repository at this point in the history
  41. import-orig: implement --create-missing-branches option

    Create the upstream branch if it does not exist. Use the same option
    name that import-dsc has.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    63517fe View commit details
    Browse the repository at this point in the history
  42. import-orig: simplify repack_source() and tmpdir handling

    Now a tmpdir is always created and sources are always unpacked into
    there.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    f6a486f View commit details
    Browse the repository at this point in the history
  43. import-orig: move repacked_tarball_name() out from common

    Moves repacked_tarball_name() from scripts/common back to the
    Debian-specific script. The logic is too Debian-specific for RPM, after
    all.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    c0b673c View commit details
    Browse the repository at this point in the history
  44. UpstreamSource.pack: support prefix mangling

    Add support for changing the prefix directory inside the tarball that is
    generated. Also, fixes a bug that caused a "prefix-less" tarball to get
    one, if unpacked and then repacked.
    
    Also, adds this support to repack_source() in common/import_orig.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    de682fc View commit details
    Browse the repository at this point in the history
  45. Introduce PkgPolicy.is_valid_orig_archive()

    A new method for checking if the given filename is usable as a orig
    (upstream) source archive.
    
    Also, takes this method into use in the UpstreamSource class.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    68d473e View commit details
    Browse the repository at this point in the history
  46. UpstreamSource: add 'archive_fmt' and 'compression' properties

    New properties for easily getting the archive format (tar, zip, ...) and
    compression format (gzip, bzip2, ...) of the sources.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    a4fefe2 View commit details
    Browse the repository at this point in the history
  47. UpstreamSource: introduce is_tarball() method

    New method for checking if the sources are a tarball (possibly for
    checking if the sources are committable by pristine-tar).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    dcd85b4 View commit details
    Browse the repository at this point in the history
  48. UpstreamSource: move version guessing logic to PkgPolicy

    PkgPolicy is more logical context, for example if guessing version from
    a plain filename and not a real file.
    
    Also, changes guess_version() to always return a tuple to simplify
    checking its return value.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d888485 View commit details
    Browse the repository at this point in the history
  49. UpstreamSource: store the absolute path

    This is more robust and reliable, e.g. in case cwd is changed.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    28a3f02 View commit details
    Browse the repository at this point in the history
  50. tests: test find_source() with unittest

    Change doctests to unittests in order to have more flexibility in
    testing.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    5b4c1b3 View commit details
    Browse the repository at this point in the history
  51. UpstreamSource: check that the sources exist

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    aed2763 View commit details
    Browse the repository at this point in the history
  52. UpstreamSource: implement prefix guessing

    Add a new attribure 'prefix', i.e. the "leading directory name" in an
    archive. For example, this usually is '<name>-<version>' in release
    tarballs.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    Signed-off-by: Łukasz Stelmach <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    87dc24b View commit details
    Browse the repository at this point in the history
  53. UpstreamSource.pack: reuse unpacked dir if no filter is used

    Set the unpacked attribute to the source dir if the content is not
    filtered.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    0fe77d4 View commit details
    Browse the repository at this point in the history
  54. UpstreamSource.unpack: return UpstreamSource instance

    Trying to keep UpstreamSource in consistent state so that unpacked and
    packed sources are kept in sync.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    c1b7c0f View commit details
    Browse the repository at this point in the history
  55. import-orig: new function for filtering/re-packing sources

    Introduces a new function prepare_sources() that prepares upstream
    sources for importing into upstream branch and pristine-tar. That
    includes unpacking, filtering and re-packing sources. What somewhat
    complicates the logic is that it tries to avoid excess unpacking/packing
    of the sources.
    
    Also fixes the unpacking / filtering / repacking logic which was broken
    with some parameter combinations.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    f3196f5 View commit details
    Browse the repository at this point in the history
  56. import-orig: rework sourcecode preparation and filtering

    Take in to use the newly added prepare_sources() function. Drop dead,
    unneeded code.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    28ace3c View commit details
    Browse the repository at this point in the history
  57. buildpackage: fix exporting of working copy when run from a subdir

    Exporting sources failed when git-buildpackage was run from a
    subdirectory of the git working directory because the path of the custom
    index file was not handled correctly.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    be6936c View commit details
    Browse the repository at this point in the history
  58. buildpackage: implement --[no-]build cmdline option

    For enabling/disabling the builder script. The option is a bit
    asymmetric: --git-no-build automatically disables the 'postbuild' hook
    whereas --git-build does not enable it (e.g. if --git-no-hooks is
    given).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e9fb0c5 View commit details
    Browse the repository at this point in the history
  59. Universal configurable base tmpdir for all gbp tools

    Adds support for a configurable tmpdir under which all gbp tools now
    create their temporary directories and files.
    
    NOTE: an exception is git-import-dscs which doesn't use the common
    configuration system.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    bbd8d38 View commit details
    Browse the repository at this point in the history
  60. gbp-pq: readiness to configure the pq branch name

    All other gbp branches have configurable names. This commit adds the
    readiness for user to configure/change the name of the patch-queue
    branches, as well.
    
    Patch-queue is defined in options as a format string, where '%(branch)s'
    refers to the debian/packaging branch. If the pq-branch format string
    does not contain '%(branch)s', there is only one patch-queue branch and
    the debian/packaging branch is used as its base branch. That is, e.g. a
    'gbp-pq switch' operation from the patch-queue branch always switches to
    the debian/packaging branch.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    Signed-off-by: Olev Kartau <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b072071 View commit details
    Browse the repository at this point in the history
  61. common/pq: support more flexible pq-branch naming

    Now any string fields (e.g. '%(version)s') can be used in the pq-branch
    format strings - in addition to the '%(branch)s' supported before.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    89fac64 View commit details
    Browse the repository at this point in the history
  62. gbp-pull: two modes for --force

    The 'force' option now has two possible values:
    'merge': upstream branch is merged, even if fast-forward is not
    possible.
    
    'clean': check out a clean copy from the upstream if fast-forward is not
    possible (i.e. no merge). Local changes are lost in this case.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    07d3365 View commit details
    Browse the repository at this point in the history
  63. Rename internal var debian_branch -> packaging_branch

    This is done in sake of more general purpose naming, intended for
    enabling rpm support.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    83b66d2 View commit details
    Browse the repository at this point in the history
  64. Add 'packaging-branch' cmdline option

    This is the counterpart of 'debian-branch' (basically identical to that)
    to not confuse rpm maintainers.
    
    Also, adds this option to gbp-clone and gbp-pull commands (as an
    alternative to the 'debian-branch option), which are usable for RPM in
    their current form.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    a5660f7 View commit details
    Browse the repository at this point in the history
  65. Rename internal var debian_tag -> packaging_tag

    This is done in sake of more general purpose naming, intended for
    enabling rpm support: to allow logical naming for rpm and to
    share as much code between debian and rpm tools as possible.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d521040 View commit details
    Browse the repository at this point in the history
  66. gbp-pq-rpm: add 'export-rev' option

    This option allows generating patches from any git tree-ish (instead of
    the default that is HEAD of patch-queue branch).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b44193f View commit details
    Browse the repository at this point in the history
  67. pq-rpm: add new --pq-branch option

    Adds a new command line option '--pq-branch' to set the name of
    patch-queue branches. Changes the defaults pq-branch name for rpm tools
    to 'development/%(branch)s' (instead of the old
    'patch-queue/%(branch)s').
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    50c1d39 View commit details
    Browse the repository at this point in the history
  68. import-srpm: support for patch import

    Adds a new commandline option '--patch-import' for importing patches
    into the source tree in packaging branch. When enabled, gbp applies and
    commits all patches (not marked for manual maintenance) into the
    packaging branch. If this succeeds, it also removes all imported patch
    files from the packaging directory and the spec file.
    
    Currently only supported for non-orphan-packaging.
    
    This setting is true by default which should make more sense as the
    developer wants to do code development in the packaging branch (if
    he/she selects to use non-orphan packaging).
    
    However, patch-import is force-disabled if in bare git repository. We
    cannot support this, currently.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    1f91b6c View commit details
    Browse the repository at this point in the history
  69. Introduce gbp import-orig-rpm tool

    Initial version of import-orig-rpm: version of import-orig intended for
    maintaining rpm packages.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b7b7cbd View commit details
    Browse the repository at this point in the history
  70. rpm: add rpm-specific example config file

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    2055ae2 View commit details
    Browse the repository at this point in the history
  71. README: mention RPM support

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d24fa6d View commit details
    Browse the repository at this point in the history
  72. rpm packaging: Tizen specific additions

    Make the package buildable from Tizen repository.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    695fbfe View commit details
    Browse the repository at this point in the history
  73. debian packaging: introduce -common subpackage

    Split the git-buildpackage into git-buildpackage and
    git-buildpackage-common. Now there are three binary packages:
    - git-buildpackage-common contains the common code for Deb and RPM tools
    - git-buildpackage contains the Debian-specific modules/tools
    - git-buildpackage-rpm contains the RPM-specific modules/tools
    
    After this change the Debian packaging resembles the RPM side packaging.
    
    Signed-off-by: Zhang Qiang <[email protected]>
    Signed-off-by: Ed Bartosh <[email protected]>
    Signed-off-by: Markus Lehtonen <[email protected]>
    bart0sh authored and marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    a58b858 View commit details
    Browse the repository at this point in the history
  74. debian packaging: relax requirements on devscripts

    No need to depend on the latest version.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    36916ca View commit details
    Browse the repository at this point in the history
  75. buildpackage-rpm: implement --git-patch-export

    Enable the "joint packaging" development model where packaging and
    source code changes are maintained in one single branch. In this case
    '--git-patch-export' must be enabled, preferably in .gbp.conf. This will
    instruct gbp to generate patches from the upstream tag up to the HEAD
    commit.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d1fcdb1 View commit details
    Browse the repository at this point in the history
  76. rpm: support generating compressed patches

    This patch adds the support to generate compressed patches. User can
    define the patch file size limit after which patches gzipped.
    
    Re-writes the write_patch() function(s) and now uses the same-and-only
    write_patch() for buildpackage-rpm and pq-rpm.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4965abb View commit details
    Browse the repository at this point in the history
  77. rpm: add --orig-prefix option

    Adds a new option --orig-prefix that affects the prefix of the
    generated/imported orig tarballs.
    
    For git-buildpackage-rpm, it defines the prefix of tarballs generated by
    the tool, 'auto' (default) makes gbp to guess the prefix, as before.
    NOTE: this doesn't affect the tarballs checked out from pristine-tar
    (i.e. if --pristine-tar is defined) or tarballs that are already present
    (see --git-tarball-dir option).
    
    For git-import-orig, this new option affects the prefix of tarballs
    imported into pristine-tar branch. If set to 'auto' (default) gbp
    doesn't mangle the prefix.
    
    Other tools (e.g. git-import-srpm) are not affected.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    0f1a7ba View commit details
    Browse the repository at this point in the history
  78. rpm: support squashing commits in patch generation

    Implements an option for git-buildpackage-rpm and gbp-pq to squash
    commits (from upstream) up to certain tree-ish into one monolithic diff.
    Useful e.g. if you wan't to auto-generate a stable update patch.
    
    The new format of the cmdline option filename is commit-ish followed by
    (optionally) a colon and the desired diff filename base. Suffix '.diff'
    is added by GBP.
    
    Magic word 'HEAD' translates to the end-commit when given as the
    squash-point.  This allows one to configure gbp to always squash all
    commits into one monolithic diff.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e2dcae1 View commit details
    Browse the repository at this point in the history
  79. rpm: implement file path filters in patch export

    Implements a filter option allows one to filter out changes to certain
    files/paths in the patch-generation. A commit is totally ignored if all
    files would be filtered out. The path filter is given as a Python
    regexp.
    
    This option is useful for example in filtering out the changes to
    packaging files when maintaining packaging and sources in the same
    branch.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    03bbf52 View commit details
    Browse the repository at this point in the history
  80. docs: add initial RPM documentation

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    cf7de9e View commit details
    Browse the repository at this point in the history
  81. buildpackage-rpm: fail patch-export if local patches found

    Make patch export fail if local patch files (not marked for manual
    maintenance) exist.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e1e9903 View commit details
    Browse the repository at this point in the history
  82. TODO: add rpm todo

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    ade0ab1 View commit details
    Browse the repository at this point in the history
  83. debian packaging: HACK: disable test in Debian builds

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    49ed743 View commit details
    Browse the repository at this point in the history
  84. Import RpmGitRepository if DebianGitRepository is not available

    This is just a workaround, this should be fixed in nicer way by
    refactoring the code.
    
    Signed-off-by: Zhang Qiang <[email protected]>
    xiaoqiang0 authored and marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b50ad5a View commit details
    Browse the repository at this point in the history
  85. .gbp.conf: Tizen specific changes

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e55db5b View commit details
    Browse the repository at this point in the history
  86. Disable xcover support for nose

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    98d3858 View commit details
    Browse the repository at this point in the history
  87. CentOS compatibility: make GBP work with older python2.6

    - use loops to generate dict/list
    - Called logging.Logger.__init__ instead of using super(). In python 2.6
      logging.Logger is not new-style class, therefore supper() is failing.
    
    Signed-off-by: Ed Bartosh <[email protected]>
    Signed-off-by: Zhang Qiang <[email protected]>
    Signed-off-by: Markus Lehtonen <[email protected]>
    xiaoqiang0 authored and marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b7e94d9 View commit details
    Browse the repository at this point in the history
  88. CentOS compatibility: fix tests

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    79bec57 View commit details
    Browse the repository at this point in the history
  89. CentOS compatibility: fix GitRepository._cmd_has_feature()

    Make it work in CentOS 6.3 with older git by removing backspace
    characters when examining man page section names.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    fb48ea4 View commit details
    Browse the repository at this point in the history
  90. CentOS compatibility: fix GitRepository.diff

    Remove the "all" parameter from --ignore-submodules which is not
    supported by the old Git version of CentOS 6 (besides, it's the default,
    anyway)
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    011a8e7 View commit details
    Browse the repository at this point in the history
  91. tests: add tests for gbp import-orig-rpm

    Basic tests for virtually all features of import-orig-rpm.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    73349e3 View commit details
    Browse the repository at this point in the history
  92. packaging: Release, update changelogs

    Add rpm changelog. Start providing proper changelogs for Tizen Tools
    releases.
    
    Also, make it easier to track Tizen releases:
    - RPM: Add a 'Provides:' tag to the git-buildpackage-rpm subpackage in
      order to be able to track Tizen releases.
    - DEB: Change the package to non-native, by adding a corresponding
      release number to the version field in changelog of Debian packaging.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    52d9135 View commit details
    Browse the repository at this point in the history
  93. packaging: Update changelogs

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    884b8fb View commit details
    Browse the repository at this point in the history
  94. debian packaging: change to 1.0 source package format

    Changes package to be non-native (assuming debian/changelog has version
    in correct format).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e4bc0e2 View commit details
    Browse the repository at this point in the history
  95. GitRepository/get_remote_repos: return URLs, too

    In addition to the remote name, return remote URLs. Return value is now
    a dict with remote name as the key and a list of URLs as the value. The
    first value in the list is the effective fetch URL, the rest of the
    values are push URLs.
    
    NOTE! This patch is to be dropped, not going for upstream.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e576f7d View commit details
    Browse the repository at this point in the history
  96. rpm: support guessing spec file from git treeish

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6384327 View commit details
    Browse the repository at this point in the history
  97. packaging: Release, update changelogs

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    94e63ed View commit details
    Browse the repository at this point in the history
  98. pq-rpm: create diff up to the last merge commit

    Before, merge commits broke patch generation, or, (most probably) caused
    the generated patches to be unapplicable (similar to how
    git-format-patch behaves).
    
    Now, changes up to the last merge commit are squashed into one diff if
    merge commits are found in the revision list from which patches are to
    be generated. Individual patches (one per commit) are generated from the
    last merge commit up to the exported revision.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    ef0051d View commit details
    Browse the repository at this point in the history
  99. packaging: Prepare for next Tizen tools release

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    83a7a1f View commit details
    Browse the repository at this point in the history
  100. pq-rpm: add unit tests for the command line tool

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    1dbe05a View commit details
    Browse the repository at this point in the history
  101. rpm: add gbp.rpm.changelog module

    This new module contains basic containers and functionality for parsing
    and updating rpm changelogs. It is coupled with the rpm packaging policy
    class which now has definitions for rpm changelog formatting.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    aff0d04 View commit details
    Browse the repository at this point in the history
  102. Introduce gbp rpm-ch tool

    Initial version of the git-rpm-ch tool which is intended for maintaining
    RPM changelogs. Supports both spec files and separate "OBS style"
    changelog files.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b991257 View commit details
    Browse the repository at this point in the history
  103. rpm-ch: implement --commit option

    Make it possible to commit the changes to Git. It will commit the
    changelog modifications, and, all other staged changes, making it
    possible to easily include other changes in the commit.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6117963 View commit details
    Browse the repository at this point in the history
  104. rpm-ch: implement --commit-msg option

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    78b2173 View commit details
    Browse the repository at this point in the history
  105. rpm-ch: implement tagging options

    Implement '--tag' command line option (and other related options for
    e.g. signing) for creating and tagging a release. These correspond the
    tagging options in git-buildpackage-rpm.
    
    The git-buildpackage-rpm tool does not commit anything to git. However,
    in rpm-ch the '--tag' option automatically enables --commit which causes
    the changelog modifications (and, all other staged changes) to be
    committed to git before creating the tag. This makes it possible to
    create a release and document the packaging/release tag name in the rpm
    changelog.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4e433d3 View commit details
    Browse the repository at this point in the history
  106. rpm-ch: add --message cmdline option

    For giving the text for new changelog entry/entries, skipping git commit
    messages entirely.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    48668e9 View commit details
    Browse the repository at this point in the history
  107. rpm-ch: implement '--all' option

    If defined, git-rpm-ch uses all commits in the Git history. Also,
    '--since' option is omitted.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e5ebf0b View commit details
    Browse the repository at this point in the history
  108. rpm-ch: implement --meta-bts option

    This gives the user the possibility to define what meta tags (in git
    commit message) git-rpm-ch recognizes as bug tracking system references.
    Or, makes it possible to disable bts meta tag tracking altogether.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    db054dd View commit details
    Browse the repository at this point in the history
  109. import-orig-rpm: implement --create-missing-branches option

    Create the upstream branch if it does not exist. Use the same option
    name that import-srpm has.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    bc41bb3 View commit details
    Browse the repository at this point in the history
  110. import-orig-rpm: implement automatic downloading

    Automatically try to download the archive if the archive filename points
    to a remote location.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    99ad139 View commit details
    Browse the repository at this point in the history
  111. import-orig-rpm: get archive from spec file

    Try to get archive path/filename from spec file if no file name is given
    on the command line.  This should make version bumps more
    straightforward: just update version number in the spec file and run
    'git-import-orig-rpm'.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    646ba28 View commit details
    Browse the repository at this point in the history
  112. buildpackage-rpm: patch-export from development branch

    Adds git-buildpackage-rpm --patch-export support for the 'orphan
    packaging' development model (where packaging files and development sources are kept in separate
    branches).
    
    New functionality:
    1. If patch-export is enabled and gbp detects that the current branch
       has a development/patch-queue branch it exports the patches from there,
       instead of the tip of the packaging branch.
    2. If gbp detects that the current (or exported) branch is a
       development/patch-queue branch it automatically enables patch-export
       and exports packaging files from the base branch (instead of the
       development/patch-queue branch.
    
    Also, add a new '--git-patch-export-rev' command line option with which
    the user can explicitly set the treeish from which patches are generated
    (i.e. HEAD..<patch-export-rev>)
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6eb4e47 View commit details
    Browse the repository at this point in the history
  113. pq-rpm: implement 'convert' subcommand

    The new subcommand is intended to be a one-time-callable command for
    converting a package to use the "orphan-packaging" development model and
    git layout (where packaging files are maintained in a separate branch
    and code development in another branch).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    dea1b4c View commit details
    Browse the repository at this point in the history
  114. pq-rpm: implement --new-packaging-dir cmdline option

    Used for setting the packaging directory to be used in the new orphan
    packaging branch. Defaults to --packaging-dir so that the gbp.conf files
    are more likely to work without modification.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    75c6f85 View commit details
    Browse the repository at this point in the history
  115. pq-rpm: implement --retain-history option

    With this option defined gbp tries to preserve the history when
    converting. That is, for each commit in the old branch create one
    corresponding commit in the new orphan packaging branch. This works by
    dumping packaging files and updating patches for each commit. However,
    empty commits are not generated - these are caused e.g. by changes in
    files that are ignored by patch-generation.
    
    NOTE! Only valid for the 'convert' action.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    07b1363 View commit details
    Browse the repository at this point in the history
  116. packaging: Prepare for next Tizen tools release

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    9caa3a4 View commit details
    Browse the repository at this point in the history
  117. pq-rpm: don't create pq branch when switching

    Pq branch must be created with 'import'.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    f76a264 View commit details
    Browse the repository at this point in the history
  118. Tizen release 0.6.12-20140521

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    19b91e0 View commit details
    Browse the repository at this point in the history
  119. docs: add manpage for gbp rpm-ch

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    469157a View commit details
    Browse the repository at this point in the history
  120. docs: add manpage for gbp import-orig-rpm

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    c091eaf View commit details
    Browse the repository at this point in the history
  121. rpm tests: extend unit tests for buildpackage-rpm

    Add tests for features that didn't have one, yet.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6a8c3e8 View commit details
    Browse the repository at this point in the history
  122. Add PKGBUILD to support arch linux

    Three split packages: git-buildpackage-{common,rpm,doc}
    
    Signed-off-by: Junchun Guan <[email protected]>
    Junchun Guan authored and marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    1ca7d5e View commit details
    Browse the repository at this point in the history
  123. Tizen release 0.6.15-20140828

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b664ce0 View commit details
    Browse the repository at this point in the history
  124. Tizen: change python-rpm module name to rpm_tizen

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    ab10869 View commit details
    Browse the repository at this point in the history
  125. log: don't initialize handlers in GbpLogger init

    Better compatibility with 3rd party modules that have their own logging
    initializations.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d996f06 View commit details
    Browse the repository at this point in the history
  126. Introduce import-bb tool

    This is the first tool in an effort of enabling gbp in the BitBake build
    environment. Gbp-import-bb is a tool for importing packages from a
    BitBake-based "combined" distro repository into individual per-package
    Git repositories.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e63b067 View commit details
    Browse the repository at this point in the history
  127. Introduce pq-bb tool

    This is a tool for managing patch-queues for packages maintained in the
    BitBake packaging format (.bb recipes).
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    07be941 View commit details
    Browse the repository at this point in the history
  128. Introduce buildpackage-bb tool

    Initial version of the tool for building BitBake packages from Git.
    
    NOTE: The buildpackage-bb tool itself is able to operate even without an
    initialized BitBake build environment although the build likely fails in
    this case. However, this makes it possible to export the packaging meta
    data, for example.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    1afe01c View commit details
    Browse the repository at this point in the history
  129. Introcude clone-bb tool

    This is a new tool for helping to clone remote per-package Git
    repositories when working in BitBake-based "full distro" build
    environment. This is useful in the case that individual packages are
    actually maintained in per-package Git repositories (like Tizen). That
    is, the full distro repository that the developer operates in is
    composed of the packaging meta data from the individual per-package
    repositories. When willing to contribute to a package the developer
    would use clone-bb to clone the correct per-package repository and make
    his changes there.
    
    NOTE: clone-bb uses GBP_PACKAGING_REPO variable to determine the remote
    repository URI. This variable should be defined in the package recipes
    in order to make clone-bb usable.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e83911f View commit details
    Browse the repository at this point in the history
  130. GitRepository.create_tag: use GitArgs class

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    dde192c View commit details
    Browse the repository at this point in the history
  131. GitRepository.create_tag: add 'annotate' argument

    For forcing the creation of annotated tags. Causes the an editor to be
    spawned if no message is given.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    e181c37 View commit details
    Browse the repository at this point in the history
  132. Introduce submit-bb tool

    This is a Tizen-specific tool for creating and pushing special submit
    tags.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d455d18 View commit details
    Browse the repository at this point in the history
  133. Tizen release 0.6.22-20150206

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b9bf803 View commit details
    Browse the repository at this point in the history
  134. Tizen release 0.6.22-20150217

    Change-Id: I3123ca6f024dcdd380e745f3bbadaba3f5bfc098
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    bf2e81b View commit details
    Browse the repository at this point in the history
  135. packaging: rebase on top of upstream version 0.7.0

    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d70b5e0 View commit details
    Browse the repository at this point in the history
  136. Compatibility: unbreak urllib import for old distros

    Old versions of python-six shipped on e.g. Debian 7, Ubuntu 12.04 and
    openSUSE 12.3 do not contain urllib.
    
    Signed-off-by: Markus Lehtonen <[email protected]>
    marquiz committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    8a59e6e View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2016

  1. Make requirement on rpm-build strong on OpenSUSE

    Even though OpenSUSE is the only rpm-based distro
    that supports so called weak requirements
    requirement on rpm-build should be strong.
    
    Otherwise gbp just cannot build the package.
    kaharlichenko committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    8d635ff View commit details
    Browse the repository at this point in the history