Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Package lxdock as a snap #179

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Package lxdock as a snap #179

wants to merge 11 commits into from

Conversation

mtausig
Copy link
Contributor

@mtausig mtausig commented Feb 28, 2020

Instructions how to build a use a snap package of lxdock.

I also updated the LXD installation part of the documentation, to primarily suggest a snap based installation, since that is the official method Cannonical suggests and it also allows a more easy integration on other distributions than Ubuntu.

I would suggest to merge this as a first step as is, and later on adapt the Travis configuration to automatically build and publish an official package.

Fixes #156

@mtausig
Copy link
Contributor Author

mtausig commented Feb 28, 2020

Continuing the discussion with @robvdl from #146 (comment) :
All the dependencies (all pip pacakges) are installed with the snap. So unless we rebuild our packages, they are not going to change.

@codecov-io
Copy link

codecov-io commented Feb 28, 2020

Codecov Report

Merging #179 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #179   +/-   ##
=======================================
  Coverage   91.41%   91.41%           
=======================================
  Files          45       45           
  Lines        1351     1351           
=======================================
  Hits         1235     1235           
  Misses        116      116

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f71006d...41de38b. Read the comment docs.

@@ -13,7 +13,7 @@ upgrade:
pip install -e . -U

lint:
flake8
flake8 --exclude snap,parts,stage,prime
Copy link
Member

Choose a reason for hiding this comment

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

can go in setup.cfg the exclude stuff, I thought we already had some there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But setup.cfg doesn't get used if I just run make lint on the command line during development.

Copy link
Member

Choose a reason for hiding this comment

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

I'll have a look when I get back in November but yes the flake8 tool does read setup.cfg for config if there is a [flake8] section. If we are to publish snaps using travis it has to be on merge, but to be honest I am not a huge fan of snaps and didn't really want to get involved in maintenance of snaps but I'll have a look in early November. Problem with the project is I'm the only person still merging stuff for the last 2 years and I'm insanely busy sometimes it takes a while as I like to test everything properly.

snapcraft.yaml Outdated Show resolved Hide resolved
@mtausig
Copy link
Contributor Author

mtausig commented Mar 1, 2020 via email

@robvdl
Copy link
Member

robvdl commented Mar 1, 2020

Neither, the way this project is actually setup:

  • setup.py has dependencies needed to run the application "so pip install ." should do it
  • requirements-test.txt contains extra dependencies only relevant to run the tests (like tox, pytest)
  • requirements-dev contains extra dependencies only needed for developing lxdock (right now that is just sphinx and ipython

so really you just need setup.py in order to run the app

@mtausig
Copy link
Contributor Author

mtausig commented Mar 2, 2020

Rebased.
I'll squash this once you give the ACK.

@mtausig
Copy link
Contributor Author

mtausig commented Mar 26, 2020

Ping

1 similar comment
@mtausig
Copy link
Contributor Author

mtausig commented Oct 2, 2020

Ping

@robvdl
Copy link
Member

robvdl commented Oct 2, 2020

I'm in the middle of an import project with fixed deadline, likeliless I can get to it before November is quite slim.

@robvdl
Copy link
Member

robvdl commented Oct 29, 2023

I'm so sorry for all the work that has gone into this and then it not even getting merged. I tried for a while to look after this project but it just turned out to be impossible by myself. I'm sorry for this and being a let down to not seeing this through and getting merged.

We did get others putting their hand up to help years and years ago but nothing ever came of that, even then it seemed to be just me maintaining it.

I now have not even run or tested lxdock for over 3 years and have created a ticket to move the entire repo to archival status and declare the project dead, just nobody even seems to care about that anymore because a year on and not a single comment on that ticket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

turn lxdock into a snap
3 participants