Opened 6 years ago

Closed 6 years ago

#15106 closed enhancement (wontfix)

Allow sage --spkg from a different directory

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: scripts Keywords:
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

I'd like to be able to do the following from within the directory of a spkg:

sage --spkg .   # current directory

but that doesn't work properly (it would create a file ..spkg).

Therefore, I propose that

sage --spkg DIR

first does a cd DIR/.. and then creates the package from there.

The attached patch also adds some additional checks, for example that a changelog entry exists in SPKG.txt.

Apply 15106_sage_pkg_chdir.patch to $SAGE_LOCAL/bin.

Attachments (1)

15106_sage_pkg_chdir.patch (4.8 KB) - added by jdemeyer 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by jdemeyer

comment:1 Changed 6 years ago by jdemeyer

  • Description modified (diff)
  • Status changed from new to needs_review

comment:2 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:3 Changed 6 years ago by jdemeyer

  • Authors Jeroen Demeyer deleted
  • Milestone changed from sage-6.2 to sage-duplicate/invalid/wontfix
  • Reviewers set to Jeroen Demeyer
  • Status changed from needs_review to positive_review

Should be closed since sage-pkg is obsolete.

comment:4 Changed 6 years ago by vbraun

  • Resolution set to wontfix
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.