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

fork https://github.com/abitrolly/podman #3772

Merged
merged 3 commits into from
Aug 13, 2019

Conversation

haircommander
Copy link
Collaborator

per conversation in #1915

Signed-off-by: Peter Hunt pehunt@redhat.com

@TomSweeneyRedHat
Copy link
Member

@haircommander git validation is not your friend here

@haircommander
Copy link
Collaborator Author

🤞

<br />
</h1>

<p align="center"><b>This is the snap for <a href="https://podman.io/">podman</a></b>, <i>“Managing Pods, Containers, and Container Images in Multiple Formats (Docker, OCI, ...).”</i>. It works on Ubuntu, Fedora, Debian, and other major Linux
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we mention RHEL and/or SUSE here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes Suse, RHEL, Centos ...

@TomSweeneyRedHat
Copy link
Member

LGTM
but I'm far from snap-literate. Would like someone more familar with snap to take a looksee.

@haircommander
Copy link
Collaborator Author

@TomSweeneyRedHat as far as I can tell, this is a WIP. @abitrolly is that correct?

@rhatdan
Copy link
Member

rhatdan commented Aug 9, 2019

@lsm5 @jnovy PTAL

@abitrolly
Copy link
Contributor

abitrolly commented Aug 11, 2019

Yes, it is a WIP. It might even require some hacks on snapd side.

When building with a very old version of snapcraft I run into this issue - https://bugs.launchpad.net/snapcraft/+bug/1807240 - might be not actual anymore.

@mikeroyal
Copy link

Hi @abitrolly, most of the bugs you're experiencing were fixed in snapcraft 3.o or later. When building the snap make to follow these steps for prep.

Prep

sudo snap install snapcraft --classic
sudo snap install multipass --beta --classic

@abitrolly
Copy link
Contributor

@mikeroyal I run snapcraft from inside container - canonical/snapcraft#2659

@rhatdan
Copy link
Member

rhatdan commented Aug 12, 2019

We need @mikeroyal @abitrolly @lsm5 @jnovy To approve this PR. since I have no knowlege of how Snap works. Can we merge this into libpod and then automatically get snaps to build and be installable on Ubuntu and Debian distros?

source: https://github.com/containers/libpod/archive/v0.11.1.1.tar.gz
go-importpath: github.com/containers/libpod
build-packages:
# https://github.com/containers/libpod/blob/master/install.md#build-and-run-dependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used this snapcraft.yaml to build it:

# snapcraft --debug
...

The 'podman' part is missing libraries that are not included in the snap or base. They can be satisfied by adding the following entry for this part
stage-packages:
- libarchive13
- libassuan0
- libgpgme11
- libicu60
- libostree-1-1
- libsoup2.4-1
- libxml2
'grade' property not specified: defaulting to 'stable'
Snapping 'podman' /                                                                                                                                           
Snapped podman_0.11.1.1_amd64.snap
# ls -l
total 28640
-rw-r--r--. 1 root root 29323264 Aug 12 15:28 podman_0.11.1.1_amd64.snap
-rw-r--r--. 1 root root     1134 Aug 12 15:24 snapcraft.yaml

Should we add the stage-packages entry there as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jnovy most likely podman snap won't work without them if you install and try the snap.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jnovy,

The 'stage-packages:' should be placed right below the 'build-packages:'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the missing stage-packages to snapcraft.yaml.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding that @jnovy , I squashed the commits to fix the validate problem :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm now - @mheon - Could you merge this please?

haircommander and others added 3 commits August 13, 2019 08:57
by forking https://github.com/abitrolly/podman

Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
@haircommander
Copy link
Collaborator Author

PTAL @mikeroyal @abitrolly

@mheon
Copy link
Member

mheon commented Aug 13, 2019

/approve
The 0.11.1 thing gives me pause, but we can fix that in future releases... LGTM

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, mheon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 13, 2019
@haircommander
Copy link
Collaborator Author

@TomSweeneyRedHat
Copy link
Member

LGTM, but would like a mheon head nod.

@rhatdan
Copy link
Member

rhatdan commented Aug 13, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2019
@openshift-merge-robot openshift-merge-robot merged commit ce64c14 into containers:master Aug 13, 2019
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants