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
New command cleanbuild (using lxd) #328
New command cleanbuild (using lxd) #328
Conversation
9ecd308
to
75d8ac7
Compare
Hello there, this is I skipped adding an integration test as it seemed way to invasive. |
75d8ac7
to
aac6ded
Compare
""" | ||
snapcraft cleanbuild | ||
|
||
Uses a container using lxd to create the resulting snap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of "Uses a container using lxd", just "Uses a lxd container".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also instead of "to create the resulting snap", just "to build the snap".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I like this very much. I left many comments just because I'm cranky and want to start my vacations :) |
f214fd3
to
6b1bb6f
Compare
fn = tarinfo.name | ||
if fn.startswith('./parts/') and not fn.startswith('./parts/plugins'): | ||
return None | ||
elif any(fn == d for d in ('./stage', './snap', tar_filename)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find fn in ('./stage', './snap', tar_filename)
more readable than this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
👍 |
5e527fb
to
a5f5038
Compare
This new command's intention is to make building with a clean slate and easy chore. LP: #1480144 Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
a5f5038
to
3e3927a
Compare
New command cleanbuild (using lxd)
update agent to 2.1.5
…nbuild-lxd New command cleanbuild (using lxd)
This new command's intention is to make building with a clean
slate and easy chore.
LP: #1480144
Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com