#29793 closed enhancement (fixed)

script packages should cd into the SPKG directory

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.2
Component: build Keywords:
Cc: jhpalmieri, embray, mjo, dimpase Merged in:
Authors: Matthias Koeppe Reviewers: Michael Orlitzky
Report Upstream: N/A Work issues:
Branch: 72346ef (Commits, GitHub, GitLab) Commit: 72346ef564fec76ad2a8411b837afbb107cb14e5
Dependencies: #29345 Stopgaps:

Status badges

Description

This simplifies several spkg-install scripts and make script packages a bit more similar to normal packages.

This is a step towards #29386 (Install script packages via sage-spkg).

Change History (13)

comment:1 Changed 11 months ago by mkoeppe

  • Branch set to u/mkoeppe/script_packages_should_cd_into_the_spkg_directory

comment:2 Changed 11 months ago by mkoeppe

  • Commit set to df3f05e03ba671dd6be502ccae96d2a6162d29d4
  • Status changed from new to needs_review

Last 10 new commits:

fb475f3Trac #29345: replace a few obsolete "-a" tests with "-e".
305d8cfTrac #29345: replace a bash array with something portable.
d0dff56Trac #29345: replace a few uses of "source" with "."
5ac420bTrac #29345: fix some bashisms in sage-env's resolvelinks() function.
0a61795Trac #29345: don't force SHELL=bash any longer.
5db5318Trac #29345: remove "break" statements from AC_SEARCH_LIBS.
e810ad1Trac #29345: don't use sage's config.status for the lrcalc build.
93c9921Trac #29345: replace the function that populates the CVXOPT_* variables.
0e66a0aTrac #29345: add Dima's SPKG patches for ksh compatibility.
df3f05ebuild/make/Makefile.in [SCRIPT_PACKAGE_templ]: cd into the SPKG directory; adjust spkg-install scripts

comment:3 Changed 11 months ago by mkoeppe

Branch is on top of #29345. There is only 1 new commit.

comment:4 Changed 11 months ago by mjo

  • Reviewers set to Michael Orlitzky
  • Status changed from needs_review to positive_review

LGTM but is there some documentation that says what the initial working directory of spkg-install should be? It shouldn't be an implementation detail.

comment:5 Changed 11 months ago by mkoeppe

  • Status changed from positive_review to needs_work

Indeed I forgot to update the documentation

comment:6 Changed 11 months ago by git

  • Commit changed from df3f05e03ba671dd6be502ccae96d2a6162d29d4 to 72346ef564fec76ad2a8411b837afbb107cb14e5

Branch pushed to git repo; I updated commit sha1. New commits:

72346efUpdate developer manual on script packages

comment:7 Changed 11 months ago by mkoeppe

  • Status changed from needs_work to needs_review

comment:8 Changed 11 months ago by mjo

  • Status changed from needs_review to positive_review

Even better.

comment:9 Changed 11 months ago by mkoeppe

Thank you!

comment:10 Changed 11 months ago by dimpase

  • Branch changed from u/mkoeppe/script_packages_should_cd_into_the_spkg_directory to public/script_packages_should_cd_into_the_spkg_directory
  • Commit changed from 72346ef564fec76ad2a8411b837afbb107cb14e5 to 7a6cb81fc71001e334f197a48758a981855537f4

rebased over rebased #29345


Last 10 new commits:

ff63210Trac #29345: replace a bash array with something portable.
bb69c7eTrac #29345: replace a few uses of "source" with "."
c549738Trac #29345: fix some bashisms in sage-env's resolvelinks() function.
b445b6eTrac #29345: don't force SHELL=bash any longer.
18dd124Trac #29345: remove "break" statements from AC_SEARCH_LIBS.
6a5d73fTrac #29345: don't use sage's config.status for the lrcalc build.
3d8ba26Trac #29345: replace the function that populates the CVXOPT_* variables.
604657aTrac #29345: add Dima's SPKG patches for ksh compatibility.
493a7e2build/make/Makefile.in [SCRIPT_PACKAGE_templ]: cd into the SPKG directory; adjust spkg-install scripts
7a6cb81Update developer manual on script packages

comment:11 Changed 11 months ago by mkoeppe

... but why?

comment:12 Changed 11 months ago by mkoeppe

  • Branch changed from public/script_packages_should_cd_into_the_spkg_directory to u/mkoeppe/script_packages_should_cd_into_the_spkg_directory
  • Commit changed from 7a6cb81fc71001e334f197a48758a981855537f4 to 72346ef564fec76ad2a8411b837afbb107cb14e5

comment:13 Changed 11 months ago by vbraun

  • Branch changed from u/mkoeppe/script_packages_should_cd_into_the_spkg_directory to 72346ef564fec76ad2a8411b837afbb107cb14e5
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.