Bug 1697339 - on-board packit into anaconda
Summary: on-board packit into anaconda
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Konecny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-08 11:50 UTC by Petr Hracek
Modified: 2020-10-06 11:40 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-06 11:40:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Hracek 2019-04-08 11:50:11 UTC
In order to on-board packit into anaconda,
there are several actions to do it.

Workflow anaconda process is:
* Release and push a tag into Github
* tag translations into Github from Zanata.

Based on the discussion, it would be good to split translations.

How does it look like .packit.yaml?
https://github.com/packit-service/packit/blob/master/docs/configuration.md

How to test packit in anaconda?
https://github.com/packit-service/packit/blob/master/docs/propose_update.md

Basically, in your upstream repository create .packit.yml and install packit package.
I guess you will need to install also ogr `pip3 install ogr`

Comment 1 Petr Hracek 2019-04-30 12:36:13 UTC
Did you have a chance to try packit?
Do you have any progress?

Comment 2 Martin Kolman 2019-04-30 16:21:36 UTC
(In reply to Petr Hracek from comment #1)
> Did you have a chance to try packit?
> Do you have any progress?
There were some bigger items to land & some F30 related work, but I plan to finally start on this during next week. Will let you know if I hit any issues. :)

Comment 3 Ben Cotton 2019-08-13 16:51:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 4 Ben Cotton 2019-08-13 19:26:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 5 Martin Kolman 2019-08-14 10:15:13 UTC
The changes will likely happen first on Rawhide, so switching back.

Comment 6 Ben Cotton 2020-02-11 15:49:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 7 Jiri Konecny 2020-03-05 13:54:31 UTC
PR: https://github.com/rhinstaller/anaconda/pull/2359

I've created PR with Packit configuration. However, we are missing dependencies on a Packit service side. See https://github.com/rhinstaller/anaconda/pull/2359#issuecomment-595207860.

We are blocked by this right now. Should I create an upstream issue or do we want to solve it here?

Comment 8 Tomas Tomecek 2020-03-24 13:55:55 UTC
I'm so sorry, this has completely fallen off my radar. What dependencies do you need to be installed? From the logs, I can see glib-devel only.

I'll hand this to my peer Franta, who is Community master for our current sprint :)

Comment 9 Jiri Konecny 2020-03-24 15:17:04 UTC
Honestly, I don't know which dependencies. It depends on the environment.

I can give you the list if I would know what is the base image. The list have to be created error-by-error :(.

Comment 10 Jiri Konecny 2020-03-24 15:59:18 UTC
This is minimal set of dependencies based on an empty mock for fedora-rawhide.

libtool
glib2-devel
gettext-devel
git
python3-polib
python3-pocketlint

However, it could change in the future. Maybe the best way would be to have something like requirements.txt, so the project can give you a list of dependencies or to specify those in the packit.yml file would be best solution.

Comment 11 Frantisek Lachman 2020-03-25 07:51:11 UTC
Thanks for the list.

> libtool
> python3-pocketlint

These are already there.

> glib2-devel
> gettext-devel
> python3-polib

I will add those.
(https://github.com/packit-service/sandcastle/pull/60)


> git

There is already a git-core, is it enough?


> However, it could change in the future. Maybe the best way would be to have
> something like requirements.txt, so the project can give you a list of
> dependencies or to specify those in the packit.yml file would be best
> solution.

Yes, this is definitely not a final solution. We need to figure out, how can we achieve this to not break the sandboxing.

Comment 12 Jiri Konecny 2020-03-25 09:34:29 UTC
Seems that the git-core should be enough for us.

Comment 13 Jiri Konecny 2020-10-06 11:40:12 UTC
Packit is now on-boarded on Anaconda. Thanks a lot for all your help packit team!


Note You need to log in before you can comment on or make changes to this bug.