-
-
Notifications
You must be signed in to change notification settings - Fork 679
Makefile, .ci/write-dockerfile.sh: Update for src/pyproject.toml after #36982
#37926
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
92b9d80
.ci/write-dockerfile.sh: Update for src/pyproject.toml after #36982
mkoeppe e0fc352
Makefile (CONFIGURE_DEPENDENCIES): Add src/pyproject.toml
mkoeppe 404a2c1
.ci/write-dockerfile.sh: Quoting fix for updated docker client
mkoeppe 5393c94
.ci/write-dockerfile.sh (with-targets): Re-bootstrap after copying in…
mkoeppe e335e93
tox.ini, .ci/write-dockerfile.sh: Fix handling of CONFIGURE_ARGS, add…
mkoeppe 53d2aab
tox.ini (docker): Pass through HOME to fix use with current macOS Doc…
mkoeppe 754bb9f
.ci/write-dockerfile.sh: Fix handling of .gitignore while src/ has no…
mkoeppe d3f9c60
.gitignore: Ignore venvs within pkgs/*/
mkoeppe 614d98a
src/sage/misc/package_dir.py: Mark two doctests '# known bug'
mkoeppe c2be0e0
tox.ini (docker): Supply BUILD_TAG to write-dockerfile.sh, for use by…
mkoeppe 9ae5c18
.ci/write-dockerfile.sh: Check that 'git worktree' works before using…
mkoeppe b16750c
.ci/write-dockerfile.sh (with-targets): Use .ci from /sage; in git-fr…
mkoeppe fe470b5
.ci/retrofit-worktree.sh: Exit earlier if git is not present
mkoeppe 4c076bb
.ci/retrofit-worktree.sh: Prune old worktree if needed
mkoeppe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,11 +12,13 @@ export GIT_AUTHOR_EMAIL="[email protected]" | |
| export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" | ||
| export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" | ||
|
|
||
| set -e | ||
|
|
||
| # Set globally for other parts of the workflow | ||
| git config --global user.name "$GIT_AUTHOR_NAME" | ||
| git config --global user.email "$GIT_AUTHOR_EMAIL" | ||
|
|
||
| set -ex | ||
| set -x | ||
|
|
||
| # If actions/checkout downloaded our source tree using the GitHub REST API | ||
| # instead of with git (because do not have git installed in our image), | ||
|
|
@@ -36,6 +38,10 @@ git tag -f new | |
| # The changed files now show up as uncommitted changes. | ||
| # The final "git add -N" makes sure that files that were added in "new" do not show | ||
| # as untracked files, which would be removed by "git clean -fx". | ||
| if [ -L $WORKTREE_NAME ]; then | ||
| rm -f $WORKTREE_NAME | ||
| git worktree prune --verbose | ||
| fi | ||
| git worktree add --detach $WORKTREE_NAME | ||
| rm -rf $WORKTREE_DIRECTORY/.git && mv $WORKTREE_NAME/.git $WORKTREE_DIRECTORY/ | ||
| rm -rf $WORKTREE_NAME && ln -s $WORKTREE_DIRECTORY $WORKTREE_NAME | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.