Skip to content

Document how to update SQLite source dependencies. #3

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 4 commits into from
Nov 21, 2017

Conversation

Mariatta
Copy link
Member

@Mariatta Mariatta commented Nov 4, 2017

Update the README with the instructions.
Use ReST.

@Mariatta Mariatta requested a review from zware November 4, 2017 04:35
README.rst Outdated

6. Create the PR, with ``sqlite`` as the base branch.

Once the PR has been merged, tag the commit as ``sqlite-<full version specified in CPython's PCbuild/get_externals.bat>``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/specified/to be used/

README.rst Outdated

.. contents::

Updating SQLite Source Dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can generalize this. Most dependencies (sqlite, bzip2, xz, zlib) follow the same instructions; tcl and tk also follow the same instructions, but have an extra step afterwards that @zooba has to do (updating cpython-bin-deps); openssl will have a much-expanded step 5. Maybe leave the steps below as is, but note that sqlite is just used an an example, and the same steps apply to the ones I listed above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :) so I tried my best at explaining that the other dependencies can be updated in similar fashion. Hope the latest change makes sense..

<https://github.com/python/cpython-bin-deps/>`_
needs to be updated.

For ``openssl``, step 5 will be more complicated :)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I added a "Download links" section listing the above.

README.rst Outdated
@@ -19,13 +23,32 @@ Updating SQLite Source Dependencies

git checkout -b <branch-name>-sqlite upstream/sqlite

3. Download SQLite source from ``sqlite.org``.
3. Download SQLite source from `sqlite.org <https://www.sqlite.org>`_.

4. Unzip it to the checked out branch on step 2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/checked out branch on/branch checked out in/

README.rst Outdated
@@ -19,13 +23,32 @@ Updating SQLite Source Dependencies

git checkout -b <branch-name>-sqlite upstream/sqlite

3. Download SQLite source from ``sqlite.org``.
3. Download SQLite source from `sqlite.org <https://www.sqlite.org>`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add checking the hash to this step.

@zware zware merged commit ffe559e into python:master Nov 21, 2017
@zware
Copy link
Member

zware commented Nov 21, 2017

Thanks @Mariatta :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants