Skip to content

New home for snap -> buildres/snapcraft#3107

Merged
koppor merged 1 commit into
masterfrom
snapcraftfolderfix
Aug 16, 2017
Merged

New home for snap -> buildres/snapcraft#3107
koppor merged 1 commit into
masterfrom
snapcraftfolderfix

Conversation

@koppor

@koppor koppor commented Aug 15, 2017

Copy link
Copy Markdown
Member

This addresses c2fb270#commitcomment-23656145

The normal home for snapcraft files (especially, /snap/gui/jabref.deskop) is /snap. See https://snapcraft.io/docs/build-snaps/metadata#fixed-assets. I could not find documentation, why /snap/.snapcraft was generated.

With this PR, we do not follow the snap convention, but enforce our own folder layout by placing stuff in buildres. To make the use of snapcraft explicit, I also named the folder snapcraft instead of snap.

@koppor koppor requested a review from stefan-kolb August 15, 2017 23:18

@Siedlerchr Siedlerchr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems like a good idea

@koppor koppor mentioned this pull request Aug 16, 2017
11 tasks
@LinusDietz

Copy link
Copy Markdown
Member

Is this ready for review? I guess this is not relevant for the beta-3 anyways?
Also, at some point maybe this should be documented in the wiki.

@koppor

koppor commented Aug 16, 2017

Copy link
Copy Markdown
Member Author

Build goes through (locally using https://hub.docker.com/r/koppor/snapcraft-java-de/), so this change really works.

@koppor koppor merged commit 870b86d into master Aug 16, 2017
@koppor koppor deleted the snapcraftfolderfix branch August 16, 2017 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants