Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new command line options: sage -n and sage -bn #2942

Closed
williamstein opened this issue Apr 16, 2008 · 9 comments
Closed

new command line options: sage -n and sage -bn #2942

williamstein opened this issue Apr 16, 2008 · 9 comments

Comments

@williamstein
Copy link
Contributor

After a vote, almost everybody (including me) agrees with the following:

sage -n:
run the notebook -- equivalent to "sage -notebook"

sage -bn:
build sage, then run the notebook -- equivalent to "sage -b; sage -n"

CC: @qed777

Component: build

Author: Tim Dumol

Reviewer: William Stein

Merged: sage-4.3.rc0

Issue created by migration from https://trac.sagemath.org/ticket/2942

@TimothyClemans
Copy link
Mannequin

TimothyClemans mannequin commented Jan 21, 2009

Attachment: scripts-2942.patch.gz

@TimothyClemans TimothyClemans mannequin added t: enhancement and removed t: bug labels Jan 21, 2009
@ncalexan
Copy link
Mannequin

ncalexan mannequin commented Jan 21, 2009

comment:2

This patch makes 'sage -b' run the notebook! Not cool.

@ncalexan ncalexan mannequin added s: needs work and removed s: needs review labels Jan 21, 2009
@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Nov 30, 2009

Added commands -n and -bn

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Nov 30, 2009

comment:3

Attachment: trac_2942-n-and-nb-commandline-opts.patch.gz

This patch should do the job.

@TimDumol TimDumol mannequin changed the title notebook -- new command line options: sage -n and sage -nb notebook -- new command line options: sage -n and sage -bn Nov 30, 2009
@TimDumol TimDumol mannequin added s: needs review and removed s: needs work labels Nov 30, 2009
@williamstein
Copy link
Contributor Author

comment:5

Very, very nice. It's especially nice how the build function is factored out.

I doubt people will ever use "sage -bn", since the notebook is no longer in the sage library. However, it can't hurt to have it. I think "sage -n" will be very useful.

positive review.

@williamstein
Copy link
Contributor Author

comment:6

Note to release manager -- this gets applied to the Sage scripts repo, and has nothing to do with the sagenb spkg. Hence I'm changing the component to "build".

@williamstein williamstein changed the title notebook -- new command line options: sage -n and sage -bn new command line options: sage -n and sage -bn Dec 8, 2009
@mwhansen
Copy link
Contributor

mwhansen commented Dec 9, 2009

Merged: sage-4.3.rc0

@mwhansen
Copy link
Contributor

mwhansen commented Dec 9, 2009

Reviewer: William Stein

@mwhansen
Copy link
Contributor

mwhansen commented Dec 9, 2009

Author: Tim Dumol

@mwhansen mwhansen closed this as completed Dec 9, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants