multiple parts with same git repo makes build checkout out redundant repos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Low
|
Unassigned |
Bug Description
snapcraft.yaml:
name: conjure-up
version: 2.0.0.7
summary: Package runtime for conjure-up spells
description: >
This package provides conjure-up, an interface to installing spells that
provide the user with an end to end walkthrough experience for installing and
using big software.
confinement: strict
apps:
conjure-up:
command: conjure-up
python3:
command: python3
shell:
command: bash
parts:
conjure:
plugin: python3
source: https:/
source-type: git
requirements: parts/conjure/
stage-packages:
- juju
- bsdtar
- coreutils
- lxd-client
- lxd
- jq
- charm-tools
- charm
- python3-
- python3-
- python3-
conjure-configs:
plugin: copy
source: https:/
source-type: git
files:
etc/
share/
share/
Running snapcraft build will result in each part having their own copy of the git tree even though they are identical.
This is on snapcraft 2.13.1
tags: | added: conjure |
We want to keep the parts independent. I'm not sure if we win a lot by sharing the source, and it would need some work to add a new directory that can be shared with a link or something. I'll mark it as confirmed, but low priority. And I'm more inclined to won't fix, but let's see if more people want this.