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 cremona db to features #25825

Closed
timokau opened this issue Jul 11, 2018 · 70 comments
Closed

Move cremona db to features #25825

timokau opened this issue Jul 11, 2018 · 70 comments

Comments

@timokau
Copy link
Contributor

timokau commented Jul 11, 2018

This continues the work in #20382 and #25835.

To test this I ran ./sage -t --optional=sage,gap_packages,database_cremona_ellcurve $( git diff --name-only HEAD~2 ).

Next steps in getting rid of is_package_installed etc.:

CC: @tscrim @kiwifb @mkoeppe

Component: build

Author: Timo Kaufmann, Jeroen Demeyer, Antonio Rojas

Branch/Commit: 9c2dcb5

Reviewer: Julian Rüth, Matthias Koeppe

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

@timokau timokau added this to the sage-8.3 milestone Jul 11, 2018
@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

comment:3

I just discovered #24718. This seems to be related/a duplicate. But that ticket seems to do some more unrelated stuff and probably needs a rebase. No clue why that is still "new".

@jdemeyer
Copy link
Contributor

comment:4

In any case, I would rather have 1 ticket for each issue (1 for GAP, one for the Cremona database).

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

comment:5

Sure, I'll split it up.

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

New commits:

ca701d9Replace gap package checks with features

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

Changed branch from u/gh-timokau/use-features to u/gh-timokau/cremona-db-features

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

Changed commit from c13f429 to ca701d9

@timokau timokau changed the title Move gap_packages and cremona db to features Move cremona db to features Jul 11, 2018
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 11, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

1030350Replace remona db checks with features

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 11, 2018

Changed commit from ca701d9 to 1030350

@timokau

This comment has been minimized.

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

comment:8

Split to this and #25835.

@jdemeyer
Copy link
Contributor

comment:9

As I mentioned on #24718: We should also use the database location discovered by the feature check instead of hardcoding it. In other words: there should be a single source for the database location.

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

Dependencies: #25309

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

comment:10

What do you mean by "discover"? It looks to me like the path to the database is just as hardcoded in the feature. Am I reading that wrong?

That should probably use the environment variable I introduced in #25309 though. So that'll have to be merged first.

@jdemeyer
Copy link
Contributor

comment:11

Replying to @timokau:

It looks to me like the path to the database is just as hardcoded in the feature.

Yes, it's hardcoded in two different places which is bad design. There should be single source for it.

@timokau
Copy link
Contributor Author

timokau commented Jul 11, 2018

comment:12

I agree, I'll use the environment variable after #25309 is merged.

@timokau timokau modified the milestones: sage-8.3, sage-8.4 Aug 6, 2018
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 6, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

e738ff5Replace remona db checks with features

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 6, 2018

Changed commit from 1030350 to e738ff5

@timokau
Copy link
Contributor Author

timokau commented Aug 6, 2018

comment:15

Alright I'm using the proper environment variables now.

@jdemeyer
Copy link
Contributor

comment:51

The last 2 commits are not strictly needed, they are just cleaning stuff up. If a reviewer prefers to move that to a separate ticket, I'll do that.

@tscrim
Copy link
Collaborator

tscrim commented Apr 30, 2019

comment:52

I am just verifying the last two cleanup commits are good.

@antonio-rojas
Copy link
Contributor

comment:53

Rebase needed

@antonio-rojas
Copy link
Contributor

Changed branch from u/jdemeyer/cremona-db-features to u/arojas/cremona-db-features

@antonio-rojas
Copy link
Contributor

comment:55

Let's please try to get this finally in


New commits:

6b7abb1Merge branch 'develop' of git://git.sagemath.org/sage into t/25825/cremona-db-features
9c2dcb5More flexible test for error message

@antonio-rojas
Copy link
Contributor

Changed commit from 2cf92e6 to 9c2dcb5

@antonio-rojas
Copy link
Contributor

Changed author from Timo Kaufmann, Jeroen Demeyer to Timo Kaufmann, Jeroen Demeyer, Antonio Rojas

@mkoeppe
Copy link
Contributor

mkoeppe commented Oct 8, 2020

comment:56

Ticket description needs updating

@antonio-rojas
Copy link
Contributor

comment:57

Replying to @mkoeppe:

Ticket description needs updating

Is the OptionalExtension bit still relevant? I'm not familiar with the recent changes in that area.

@mkoeppe
Copy link
Contributor

mkoeppe commented Oct 8, 2020

comment:58

No, the use of OptionalExtension has been eliminated. See https://wiki.sagemath.org/ReleaseTours/sage-9.2#For_developers:_Changes_to_the_build_system_of_sagelib

@antonio-rojas

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-8.4, sage-9.2 Oct 8, 2020
@mkoeppe
Copy link
Contributor

mkoeppe commented Oct 8, 2020

Changed reviewer from Julian Rüth to Julian Rüth, Matthias Koeppe

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Oct 24, 2020
@vbraun
Copy link
Member

vbraun commented Oct 31, 2020

Changed branch from u/arojas/cremona-db-features to 9c2dcb5

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

8 participants