Skip to content

Add support for .charm files#469

Merged
jujubot merged 2 commits intomasterfrom
johnsca/accept-charm-files
Feb 4, 2021
Merged

Add support for .charm files#469
jujubot merged 2 commits intomasterfrom
johnsca/accept-charm-files

Conversation

@johnsca
Copy link
Copy Markdown
Contributor

@johnsca johnsca commented Feb 2, 2021

The library already creates a charm archive for local charms, but needed a few tweaks to accept an already-archived file.

The library already creates a charm archive for local charms, but needed
a few tweaks to accept an already-archived file.
Comment thread juju/bundle.py
return None
try:
data = yaml.safe_load(md.open())
if path.endswith('.charm'):
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.

👍 juju download also uses the .charm extension, so this is perfect.

@SimonRichardson
Copy link
Copy Markdown
Member

@johnsca considering #465 landed ( 🎉 ), can you rebase this branch against master.

@SimonRichardson
Copy link
Copy Markdown
Member

$$merge$$

@jujubot jujubot merged commit 3d91d6b into master Feb 4, 2021
@SimonRichardson SimonRichardson mentioned this pull request Mar 31, 2021
jujubot added a commit that referenced this pull request Mar 31, 2021
#481

Merge 2.9 into master

This is brings in 2.9-rc3 schema as well, so that we're dealing with
the latest changes.

Conflicts:
 _client3.py - just re-ran the `make client` as the code is autogenerated.

5e23162 (upstream/master) Merge pull request #480 from SimonRichardson/release-2.8.6
3e23b74 (origin/master, origin/HEAD, master) Merge pull request #479 from SimonRichardson/schema-update-2.8.10
7f96863 Merge pull request #478 from SimonRichardson/scale-typo
fd1438c Merge pull request #475 from achilleasa/provide-accessor-for-machine-hostname-field
1015f4d Expand wait_for_idle to support waiting for status (#473)
7829fd0 Merge pull request #471 from SimonRichardson/release-2.8.5
fd36c8f Merge pull request #470 from juju/johnsca/bundle-charm-files-and-wait
3d91d6b Merge pull request #469 from juju/johnsca/accept-charm-files
4e4e108 Merge pull request #465 from juju/johnsca/update-websockets/py39
d696937 Merge pull request #467 from gnuoy/issue/466
@juanmanuel-tirado juanmanuel-tirado deleted the johnsca/accept-charm-files branch October 27, 2022 06:33
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.

3 participants