-
-
Notifications
You must be signed in to change notification settings - Fork 544
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
Add documentation of tox and GitHub actions workflow to developer's manual #29401
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Author: Matthias Koeppe |
comment:4
doc does not build. in perhaps it needs tagging as yaml, somehow |
comment:5
--- a/src/doc/en/developer/portability_testing.rst
+++ b/src/doc/en/developer/portability_testing.rst
@@ -9,7 +9,7 @@ Testing on multiple platforms
=============================
Sage is intended to build and run on a variety of platforms,
-including all major Linux distributions, as well as macOS, and
+including all major Linux distributions, as well as MacOS, and
Windows (with Cygwin).
There is considerable variation between these platforms.
@@ -142,7 +142,9 @@ Using Sage's database of distribution prerequisites
The source code of the Sage distribution contains a database of
package names in various distributions' package managers. For
-example, the file ``build/pkgs/debian.txt`` contains the following::
+example, the file ``build/pkgs/debian.txt`` contains the following
+
+.. code-block:: yaml
# This file, build/pkgs/debian.txt, contains names of Debian/Ubuntu packages
# needed for installation of Sage from source. please apply this patch - then you can set it to positive review. |
Reviewer: Dima Pasechnik |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
I'd add a link to https://wiki.sagemath.org/patchbot in the Sage patchbots section, and there are more typos and formatting issues. Let me post another patch... |
reviewer patch 2 |
comment:8
Attachment: moar.diff.gz please apply this, too |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Thank you! |
comment:13
Trivial request: diff --git a/src/doc/en/developer/portability_testing.rst b/src/doc/en/developer/portability_testing.rst
index 20737e3ce1..16ea65340c 100644
--- a/src/doc/en/developer/portability_testing.rst
+++ b/src/doc/en/developer/portability_testing.rst
@@ -12,7 +12,7 @@ Sage is intended to build and run on a variety of platforms,
including all major Linux distributions, as well as MacOS, and
Windows (with Cygwin).
-There is considerable variation between these platforms.
+There is considerable variation among these platforms.
To ensure that Sage continues to build correctly on users'
machines, it is crucial to test changes to Sage, in particular
when external packages are added or upgraded, on a wide Some people may also complain that some of the lines are longer than 80 characters. I don't care much about this. I just tried out the instructions for Docker. When I was just starting, In the "Generating Dockerfiles" section: am I understanding that you don't need to create a new git worktree with this approach? That's not completely clear as written. |
comment:14
Also in the "Generating Dockerfiles" section: I tried
so as not to pollute my Sage directory with untracked files, but it didn't work:
Giving an absolute path didn't help. Also, once I get this going, where does the build take place? That is, can I look at the log files without running a second iteration of docker? |
comment:15
Docker contexts are tricky! |
comment:16
It's easiest to put the Dockerfile somewhere in the tree. |
comment:17
Thanks for the feedback. I'll revise the writing to address your questions |
comment:44
Any more corrections or suggestions for this new section in the manual? |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:46
Rebased on 9.1.beta9, needs review |
comment:47
unfinished edit here at line 570, ending with |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:49
make this a proper list: --- a/src/doc/en/developer/portability_testing.rst
+++ b/src/doc/en/developer/portability_testing.rst
@@ -854,13 +854,12 @@ workflow have finished. Each job generates one tarball.
during the build.
The following procedure seems to work well for testing branches during
-development. Create a branch from a recent beta release that contains
-the default GitHub Actions configuration; name it ``TESTER``, say.
-Edit ``$SAGE_ROOT/.github/workflows/tox.yml`` to include the system
-configurations that you wish to test. Commit and push the branch to
-your GitHub fork of sage. Next, push your development branch to your
-GitHub repository and create a pull request against the ``TESTER``
-branch. This will trigger the GitHub Actions workflow.
+development:
+
+- Create a branch from a recent beta release that contains the default GitHub Actions configuration; name it ``TESTER``, say.
+- Edit ``$SAGE_ROOT/.github/workflows/tox.yml`` to include the system configurations that you wish to test.
+- Commit and push the branch to your GitHub fork of sage.
+- Push your development branch to your GitHub repository and create a pull request against the ``TESTER`` branch. This will trigger the GitHub Actions workflow. also, there are few lines in the file after this, which do not go into the output. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:51
OK. Squash these many commits, I guess, too. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. This was a forced push. New commits:
|
comment:53
Thank you! |
comment:54
Looks like @vbraun has merged the unsquashed branch already. Resetting to that. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. This was a forced push. Last 10 new commits:
|
Changed branch from u/mkoeppe/add_documentation_of_tox_and_github_actions_workflow_to_developer_s_manual to |
CC: @dimpase @jhpalmieri @videlec @tscrim @orlitzky @kiwifb @slel
Component: documentation
Author: Matthias Koeppe
Branch/Commit:
99aca39
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29401
The text was updated successfully, but these errors were encountered: