Giter Site home page Giter Site logo

ffoto1620 / packit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packit/packit

0.0 0.0 0.0 9.33 MB

Upstream project ← → Downstream distribution

Home Page: https://packit.dev/

License: MIT License

Python 98.74% Makefile 0.60% Shell 0.51% Dockerfile 0.14%

packit's Introduction

Build Status

Packit

Elevator pitch

Packit is a CLI tool that helps developers auto-package upstream projects into Fedora operating system. You can use packit to continously build your upstream project in Fedora. With packit you can create SRPMs, open pull requests in dist-git, submit koji builds and even create bodhi updates, effectively replacing the whole Fedora packaging workflow.

Plan and current status

We are working on two things now:

  1. Packit as a tool - a standalone CLI tool which you can install from Fedora repositories and use easily.
  2. Packit service - A service offering built on top of packit tool. Our expectation is that you would add packit service into your Github repository and it would start handling things automatically: opening pull requests on dist-git, building packages, creating updates, ...

For the run-down of the planned work, please see the task-list below.

  • E2E workflow for getting upstream releases into Fedora using packit CLI.
    • Bring new upstream releases into Fedora rawhide as dist-git pull requests. (propose-update command included in 0.1.0 release)
    • Build the change once it's merged. #137
    • Send new downstream changes back to upstream. (so the spec files are in sync) #145
    • Packit can create bodhi updates. #139
    • Ability to propose updates also to stable releases of Fedora.
    • Create SRPMs from the upstream repository
    • Build RPMs in COPR and integrate the results into Github.
  • source-git
    • Packit can create a SRPM from a source-git repo.
    • You can release to rawhide from source-git using packit.
    • Packit can create a source-git repository.
    • Packit helps developers with their source-git repositories.
  • Packit as a service
    • Packit reacts to Github webhooks.
    • Have a Github app for packit.
      • Github app is on Marketplace.
    • Packit service is deployed and usable by anyone.

Workflows covered by packit

This list contains workflows covered by packit tool and links to the documentation.

Configuration

Configuration file for packit is described here.

TL;DR

specfile_path: packit.spec
synced_files:
  - packit.spec
upstream_package_name: packitos
downstream_package_name: packit

User configuration file

User configuration file for packit is described here.

Requirements

Packit is written in python 3 and is supported only on 3.6 and later.

When packit interacts with dist-git, it uses fedpkg, we suggest installing it:

sudo dnf install -y fedpkg

Installation

On Fedora:

$ dnf install --enablerepo=updates-testing packit

Or

$ pip3 install --user packitos

(packit project on PyPI is NOT this packit project)

You can also install packit from master branch, if you are brave enough:

$ pip3 install --user git+https://github.com/packit-service/packit.git

Run from git directly:

You don't need need to install packit to try it out. You can run it directly from git (if you have all the dependencies installed):

$ python3 -m packit.cli.packit_base --help
Usage: packit_base.py [OPTIONS] COMMAND [ARGS]...

Options:
  -d, --debug
  -h, --help         Show this message and exit.
...

Who is interested

  • Identity team (@pvoborni)
  • Plumbers - Source Git (@msekletar @lnykryn)
  • shells (@siteshwar)
  • python-operator-courier (Ralph Bean)
  • @thrix
  • youtube-dl (Till Mass)
  • greenboot (@LorbusChris)
  • ABRT
  • OSBS (atomic-reactor, osbs-client, koji-containerbuild) (@cverna)
  • CoreOS (starting with rpm-ostree, ignition, and ostree) (@jlebon)
  • cockpit (@martinpitt)
  • iptables (@jsynacek)

For the up to date list of projects which are using packit, click here.

Logo design

Created by Marián Mrva - @surfer19

packit's People

Contributors

tomastomecek avatar lachmanfrantisek avatar jpopelka avatar softwarefactory-project-zuul[bot] avatar phracek avatar lbarcziova avatar rpitonak avatar jscotka avatar dhodovsk avatar usercont-release-bot avatar sakalosj avatar surfer19 avatar frnecas avatar ernestask avatar shreyaspapi avatar yottanami avatar lorbuschris avatar cverna avatar eliskasl avatar jlebon avatar zlopez avatar nforro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.