Skip to content
Snippets Groups Projects

Draft: Accept multiple archives from make-archive scripts

Closed Jakub Ružička requested to merge MUTs into master
1 unresolved thread

This MUTs branch is originally from https://git.symas.net/symas-public/apkg/-/tree/MUTs

as mentioned in #101 (comment 295774)

Fixes: #101

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
61 61
62 62 log.info("running make_archive_script: %s", script)
63 63 out = run(script, quiet=True)
64 # last script stdout line is expected to be path to resulting archive
65 _, _, last_line = out.rpartition('\n')
66 in_archive_path = Path(last_line)
67 if not in_archive_path.exists():
68 msg = ("make_archive_script finished successfully but the archive\n"
69 "(indicated by last script stdout line) doesn't exist:\n\n"
70 "%s" % in_archive_path)
71 raise ex.UnexpectedCommandOutput(msg=msg)
72 log.info("archive created: %s", in_archive_path)
64 # first script stdout line is expected to be path to resulting archive
65 lines = out.split('\n')
66 in_archive_path = Path(lines[0])
  • Jakub Ružička changed milestone to %v0.6

    changed milestone to %v0.6

  • Jakub Ružička added 36 commits

    added 36 commits

    Compare with previous version

  • The proposal has now been updated and now lives in branch MUT_proposed in the same repo: https://git.symas.net/symas-public/apkg/-/tree/MUT_proposed

  • Jakub Ružička mentioned in merge request !175

    mentioned in merge request !175

  • As I can't change source branch in the MR, I've opened a new one for MUT_proposed branch: !175

    Let's continue there, I'm closing this.

    Edited by Jakub Ružička
  • Please register or sign in to reply
    Loading