Skip to content

Releases: packit/packit

0.10.0

14 Apr 07:23
440dee6
Compare
Choose a tag to compare

0.10.0

Features

  • We are able to linearize (and create patches from) extremely complex source-git repos.
  • Job metadata in .packit.yaml are now being validated.
    • dist-git-branch key has been renamed to dist_git_branch

Minor changes and fixes

  • We no longer inspect archive extension set in Source and create .tar.gz by default.
    • This should be more flexible and prevent issues for “non-standard” archive names.
  • propose-update creates downstream spec if it’s not there
    • This used to happen when using packit on a newly created package in Fedora which did not have spec file added yet.
  • Fix for web URLs for Copr builds owned by groups.
  • Marshmallow v3 is now supported as well.

0.9.0

25 Mar 14:57
fb817f4
Compare
Choose a tag to compare

0.9.0

Features

  • CLI has a new local-build command.
  • Packit learned how to look for RPM spec files on its own, so specifying specfile_path in the configuration is not mandatory anymore.
  • Default configuration has tests job enabled from now on. You still need to use fmf to create some tests, otherwise testing-farm only tests the success of the installation.
  • We don't touch Version in spec files and change Release only by default.

Minor changes and fixes

  • Improved documentation (README & CONTRIBUTING).
  • copr-build CLI command has new --upstrem-ref option.
  • As a result of keys.fedoraproject.org being turned off, Packit now tries a list of GPG keyservers when downloading keys to check commit signatures.
  • generate CLI command is now deprecated in favor of the init command.
  • When executing copr-build command, you don't need to set project name if this value is defined in copr_build job in configuration file.
  • When loading authentication in the config file - users are warned only if deprecated keys are used, no more confusing messages when you do not have authentication key in the configuration.
  • Several source-git related fixes & improvements are applied.
  • A bug which was causing SRPM-build failures in Packit Service for projects which had their spec files stored in a subdirectory is fixed.
  • We handle git-describe output better: it should help when tags contain dashes.

0.8.1

20 Jan 16:00
aecd5e1
Compare
Choose a tag to compare

0.8.1

Features:

  • Packit is able to build in Koji from upstream/source-git.
  • CLI has bash-completion.
  • Configuration can use a new option (patch_generation_ignore_paths) to exclude paths from patching.

0.8.0

14 Jan 15:44
6255879
Compare
Choose a tag to compare

0.8.0

Packit has a new logo!

Features:

  • Marshmallow object schema was implemented.
  • config file and spec file are synced by default.
  • We use testing farm for sanity tests.
  • packit status command shows latest copr builds.
  • Target aliases (currently fedora-development, fedora-stable, fedora-all) can now be used in the packit config file.
  • upstream_package_name and downstream_package_name are no longer required in package config. github repository name is the default value both.
  • If no jobs are defined in .packit.yaml, packit by default runs build job on fedora-stable targets and propose_downstream on fedora-all branches.
  • Image version of packit is now fedora 31
  • packit can now download URL package sources before SRPM build.
  • When doing a new update in Fedora dist-git, packit now by default creates a new pull request instead of pushing directly to dist-git.
  • Build command has nicer output.
  • create-archive uses fullpath for validation and splits long lines of output.
  • SRPM runs also in a repo with detached head.
  • Log output from subprocesses is in realtime.
  • Specfile is refreshed after each run of the propose-update.
  • When there is no copr project owner, exception is raised
  • While building specfile from custom specfile, the archive is linked from the spec-directory.
  • Setting cwd in command handlers is allowed.
  • SRPM build is run from the folder containing specfile.

Fixes:

  • Consecutive API call for status works.
  • rebase-helper breaking changes in new version is fixed.
  • fixed updating version on srpm build

Minor:

  • pre-commit check requires rebased branch.
  • fedora version in .packit.yaml config is updated.
  • Code related to copr id now extracted to dedicated class.
  • There is a warning in logs when there is no packit config in repository.
  • Tests are now restructured and use new structure or requre, also containing tests for copr.
  • The stale bot is now set with up-to-date config.
  • The imports of packit are simplier.
  • The preparation of SRPM build has been refactored including new exceptions.

0.7.1

21 Oct 12:32
d5c998b
Compare
Choose a tag to compare

0.7.1

Minor

  • The "Developer Certificate of Origin" was added to the git repository.

Fixes

  • Packit will determine upstream_project_url from git remote if not specified in the config.

0.7.0

04 Oct 15:21
5c5951e
Compare
Choose a tag to compare

0.7.0

See our website for up-to-date documentation.

Deprecation changes

  • Rename upstream_project_name option to upstream_package_name.
    • The old one is now deprecated and will be ignored in the future.

Features

  • Packit is now able to be used from a distgit repository.
    • You need to specify upstream_project_url to make it work.
  • The configuration of the authentication was reworked.
    • Support for multiple git services/instances.

Fixes

  • Packit verifies the output of the create-archive action.
  • Added support for Source in the spec-file.

Minor

  • New option (upstream_tag_template) was added to the configuration file
    to support more version schemes.

0.6.1

12 Sep 16:04
49892d0
Compare
Choose a tag to compare

0.6.1

This patch release contains only few bug-fixes on top of 0.6.0.

0.6.0

10 Sep 13:34
4530257
Compare
Choose a tag to compare

0.6.0

We keep our documentation up to date: https://packit.dev/docs - you can learn
how to use all the latest features.

Breaking changes

  • pagure_fork_token is no longer needed given a change which happened in
    pagure (src.fedoraproject.org); Pierre
    rocks!
  • New COPR projects created by packit are no longer listed in the COPR
    dashboard and are set to be deleted after 180 days upon being created.

Features

  • There is a new command push-updates to mark bodhi updates for stable.
  • Packit now sets description and instructions for newly created COPR projects.
  • There is a new config option to set ID of a spec file Source which packit
    should operate on (defaults to 0). Packit now also updates the %[auto]setup
    macro in %prep so that the generated archive is correctly unpacked - this
    behavior matches what tito does.
  • There is a new action fix-spec which by default sets Source0, %version and
    %setup macros in spec file - you can override it with your own
    implementation. Documentation
  • Packit now sets certain environment variables during fix-spec and
    create-archive actions. You can read more about this in the documentation
    for actions.

Fixes

  • Packit can be again installed as an RPM: it correctly depends on koji client
    library now.
  • If an error happens in a section while doing status, the section is now
    skipped and rest of the information is printed.
  • Packit is able to handle URLs to git repo if they end with a slash.

0.5.1

26 Aug 06:19
0a0bba7
Compare
Choose a tag to compare

0.5.1

Breaking changes

  • Command version no longer exists and is now replaced with a --version
    option. (thanks to @FrNecas)

Fixes

  • Fix creation of SRPMs - they can be rebuilt now properly.
  • Don't update %changelog if it's not present in the spec file.
  • Koji builds are now obtained using koji, not bodhi, in status command which
    should yield more consistent results.
  • Comments in generated .packit.yaml (using generate command) should be now
    more accurate.
  • Command sync-from-downstream no longer creates a branch when using option
    --no-pr.
  • Building in copr now yields an URL to frontend instead of a link to log files.
  • status command now displays one update per stable Fedora release.

Minor

  • We are using softwarefactory.io Zuul now instead of Centos CI jenkins.
  • CONTRIBUTING.md file is now fully up to date when it comes to CI testing.
  • Updates to our testing scripts.

0.5.0

02 Aug 18:44
986dc51
Compare
Choose a tag to compare

0.5.0

All the documentation was moved to our site: https://packit.dev/docs

Features

  • If you set up fas_username in your config, packit will perform kinit before
    doing an authenticated dist-git clone.
  • You can now specify a koji target when building in koji using the build
    command.
  • There is a new command copr-build which enables you to submit builds into
    Fedora COPR build system.
  • The config file now has a new attribute called create_pr which tells packit
    whether it should create pull requests in dist-git or push directly.
  • build command now waits for the build to finish and has a --nowait.
  • Packit now supports the most popular archive formats, not just .tar.gz
    (thanks to @FrNecas for contributing this feature)
  • Command propose-update can now push directly to dist-git. This can be
    controlled via a CLI option --nopr or in a config using create_pr value.
  • When doing a propose-update, packit no longer does a 1:1 copy, instead it
    copies everything from the upstream spec except for %changelog and then
    performs rpmdev-bumpspec.

Fixes

  • SRPMs are now being correctly created from source-git repos.
  • Packit is now able to clone a dist-git repo using authentication (fedpkg clone) and push to it afterwards.
  • packit status now displays also a latest rawhide koji build.
  • The command propose-update does no longer fail when looking for an upstream
    archive.
  • Packit no longer discards changes in the local git repo if it's dirty.

Minor

  • Several improvements to text printed by packit.
  • We are now using Zuul for testing and have multiple jobs set up to verify
    packit works against different versions of dependant software.