Skip to content

Create tarball from Alire workspace - #529

Merged
mosteo merged 6 commits into
masterfrom
feat/tarball
Sep 25, 2020
Merged

Create tarball from Alire workspace#529
mosteo merged 6 commits into
masterfrom
feat/tarball

Conversation

@mosteo

@mosteo mosteo commented Sep 15, 2020

Copy link
Copy Markdown
Member

A further step towards automating uploading tarballs, when using the --tar switch with alr publish we create the tarball and ask the user to upload it before continuing.

This is still skinny in the sense that no local checks are performed before the upload, so errors are detected a bit late in the process. Also, no attempt is yet made to detect if the release has a corresponding github release to which the file could be uploaded.

  • Implement test
  • Document changes

@mosteo
mosteo force-pushed the feat/tarball branch 2 times, most recently from f3ced88 to 763d402 Compare September 15, 2020 19:23
Comment thread src/alire/alire-publish.adb Outdated
Comment thread src/alire/alire-publish.adb
Comment thread src/alire/alire-publish.adb Outdated
@mosteo
mosteo force-pushed the feat/tarball branch 2 times, most recently from 92dbbdc to 4735e59 Compare September 16, 2020 10:06
@mosteo
mosteo marked this pull request as ready for review September 16, 2020 11:03
It seems GNAT's Normalize_Arguments does its own escaping, so we do not need to
do it ourselves. Also, the test checks that indeed the `alire` folder is
excluded when tar'ing manually.
@mosteo

mosteo commented Sep 18, 2020

Copy link
Copy Markdown
Member Author

I'd say this one is complete, @Fabien-Chouteau. Do you want it merged before branching for the beta?

@Fabien-Chouteau

Copy link
Copy Markdown
Member

Yes we are not ready to fork yet.

@mosteo

mosteo commented Sep 18, 2020

Copy link
Copy Markdown
Member Author

Then if you're ok with the changes in the two last new commits I'll merge it.

@mosteo mosteo added this to the 0.7 milestone Sep 25, 2020
@mosteo
mosteo merged commit 4f6fc2c into master Sep 25, 2020
@mosteo
mosteo deleted the feat/tarball branch September 25, 2020 14:10
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.

2 participants