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

Added Towncrier #20

Merged
merged 5 commits into from
Jun 22, 2022
Merged

Added Towncrier #20

merged 5 commits into from
Jun 22, 2022

Conversation

Patil2099
Copy link
Contributor

@Patil2099 Patil2099 commented Nov 9, 2019

What was wrong?

closes #16

How was it fixed?

  • Towncrier added
  • Relevant configs added and borrowed from the ethereum-python-project-template repo
  • Relevant newsframents added from recent updates to master

Cute Animal Picture

20220620_135025

.github/PULL_REQUEST_TEMPLATE.md Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
newsfragments/validate_files.py Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@cburgdorf
Copy link
Contributor

@Patil2099 Thanks for jumping on this! Just a few minor corrections needed, overall looks good :)

pyproject.toml Outdated Show resolved Hide resolved
@Patil2099
Copy link
Contributor Author

@cburgdorf Is this correct now?

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
@Patil2099
Copy link
Contributor Author

@cburgdorf Is this correct now?
Let me know if changes are needed

@cburgdorf
Copy link
Contributor

@cburgdorf Is this correct now?

I strongly encourage you to actually try it out and see if it works. E.g. you might (temporary) comment out the critical lines of the make release command which deals with signing or pushing the tags somewhere but leave in the rest and then run make release bump=minor and check if it works as expected. Check if the release notes are produced and accessible as they should.

Without actually running and confirming the changes it will be really hard to come up with something that is correct.

From what I see (without running the code, which is something that I'll have to do before I merge this) I can at least say that the TOC still has a wrong reference to the changelog (releases instead of release_notes)

https://github.com/ethereum/eth-typing/blob/master/docs/index.rst#L13

@cburgdorf
Copy link
Contributor

Hey @Patil2099 sorry for the late reply. We've lately made some changes to our towncrier setup and it would be best to just resync with the template project that this repo is based on.

We have some instructions on how to do that:
https://github.com/ethereum/snake-charmers-tactical-manual/blob/master/template.md#upgrading-a-repo-to-use-the-latest-templated-features

Would you be willing to update this PR again? If not that's fine, too, I can also take care of it.

@Patil2099
Copy link
Contributor Author

@cburgdorf sorry for replying so late was going through all the prs. What can I do to get this pr merged I can make any changes. Thanks.

@fselmo
Copy link
Contributor

fselmo commented Jun 17, 2022

closing due to staleness

@fselmo fselmo closed this Jun 17, 2022
@fselmo
Copy link
Contributor

fselmo commented Jun 20, 2022

Actually, my fault @Patil2099... This is not as stale as I thought 🙂! We have just updated a few things across the ethereum libraries since this was worked on... I'm going to add the commits from PR #31 on top of this since you made most of these changes already.

Thanks so much for submitting this... sorry it took us a while to get to it 👍

@fselmo fselmo reopened this Jun 20, 2022
@fselmo fselmo mentioned this pull request Jun 20, 2022
Patil2099 and others added 2 commits June 20, 2022 14:20
* Add towncrier
* Fixed Docs Ref.
* Fixed Broken Links
* Fixed pyproject
* Docs Fixed
* Update towncrier version in ``setup.py``
* Update Makefile
* Update /newsfragments' supporting files with the updated setup from the `ethereum-python-project-template` repo
* Update `tox.ini` and CI's `config.yaml`
* Update `pyproject.toml`
@fselmo fselmo force-pushed the master branch 2 times, most recently from e702677 to 853dc0d Compare June 20, 2022 20:31
Copy link
Contributor

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

This looks good to me! I just split out a new make command (validate-docs). Thanks @Patil2099 for the PR and for your patience!

@fselmo fselmo merged commit 33c2a43 into ethereum:master Jun 22, 2022
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.

Setup towncrier for release notes
4 participants