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

Move toric varieties to a dedicated folder #13023

Closed
novoselt opened this issue May 26, 2012 · 16 comments
Closed

Move toric varieties to a dedicated folder #13023

novoselt opened this issue May 26, 2012 · 16 comments

Comments

@novoselt
Copy link
Member

Currently all files related to toric varieties are in schemes/generic, yet there are many of them and it would be more convenient to have a separate folder rather than toric_ prefix on all of them.

Apply:

CC: @vbraun

Component: algebraic geometry

Keywords: toric, sd40.5

Author: Andrey Novoseltsev

Reviewer: William Stein

Merged: sage-5.1.beta4

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

@novoselt
Copy link
Member Author

Attachment: trac_13023_adjust_toric_imports.patch.gz

Automatic adjustment of imports

@novoselt
Copy link
Member Author

Attachment: trac_13023_fix_circular_imports.patch.gz

Manual adjustment of imports

@novoselt
Copy link
Member Author

Changed keywords from none to toric, sd40.5

@novoselt
Copy link
Member Author

Script for rebasing other patches on top of this ticket

@novoselt
Copy link
Member Author

comment:4

Attachment: rebase_for_13023.sh.gz

The script may be not too elegant, but it worked for rebasing #12892 on top of this ticket.

For the patchbot:

Apply trac_13023_move_toric_files.patch trac_13023_adjust_toric_imports.patch trac_13023_fix_circular_imports.patch

@novoselt

This comment has been minimized.

@novoselt

This comment has been minimized.

@williamstein
Copy link
Contributor

comment:6

This looks good.

@williamstein
Copy link
Contributor

comment:7

The patchbot fails due to:

trac_13023_fix_circular_imports.patch
Trailing whitespace inserted on 5 non-empty lines.
Traceback (most recent call last):
  File "/opt/patchbot-5.1.beta0/local/bin/patchbot/patchbot.py", line 276, in test_a_ticket
    plugin(ticket, **kwds)
  File "/opt/patchbot-5.1.beta0/local/bin/patchbot/plugins.py", line 49, in trailing_whitespace
    raise ValueError(msg)
ValueError: Trailing whitespace inserted on 5 non-empty lines.
plugins.trailing_whitespace -- 0 seconds

but when I manually did "sage -br", everything did work fine, hence the positive review.

@jdemeyer
Copy link

Reviewer: William Stein

@jdemeyer
Copy link

comment:9

The documentation needs work:

dochtml.log:/padic/scratch/jdemeyer/merger/sage-5.1.beta2/devel/sage/doc/en/reference/sage/schemes/toric/variety_library.rst:11: WARNING: autodoc can't import/find module 'sage.schemes.toric.variety_library', it reported error: "No module named variety_library", please check your spelling and sys.path
dochtml.log:None:27: WARNING: citation not found: FultonP65
dochtml.log:None:70: WARNING: citation not found: FS

@novoselt
Copy link
Member Author

Attachment: trac_13023_move_toric_files.patch.gz

Actual move with minimal changes

@novoselt
Copy link
Member Author

comment:10

I'll take the liberty of switching back to positive review - in the rst file "variety_library" had to be just "library".

@novoselt
Copy link
Member Author

comment:11

Apply trac_13023_move_toric_files.patch trac_13023_adjust_toric_imports.patch trac_13023_fix_circular_imports.patch

@novoselt
Copy link
Member Author

comment:12

With new patches and after completely wiping out the doc output:

sphinx-build -b html -d /home/novoselt/sage-5.1.beta0/devel/sage/doc/output/doctrees/en/reference    /home/novoselt/sage-5.1.beta0/devel/sage/doc/en/reference /home/novoselt/sage-5.1.beta0/devel/sage/doc/output/html/en/reference
Running Sphinx v1.1.2
loading pickled environment... not yet created
loading intersphinx inventory from /home/novoselt/sage-5.1.beta0/devel/sage/doc/common/python.inv...
building [html]: targets for 1026 source files that are out of date
updating environment: 1026 added, 0 changed, 0 removed
reading sources... [100%] todolist                                                                                                                           
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] todolist                                                                                                                            
writing additional files... genindex py-modindex search
copying images... [100%] sage/homology/../../media/homology/torus_labelled.png                                                                               
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded.
Build finished.  The built documents can be found in /home/novoselt/sage-5.1.beta0/devel/sage/doc/output/html/en/reference

so all seems to be well now.

@jdemeyer
Copy link

Merged: sage-5.1.beta4

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

4 participants