-
-
Notifications
You must be signed in to change notification settings - Fork 115
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 to trunk-based development #3140
Comments
On the archive to Zenodo on tag, I think you're talking about the data releases, but there will be 2 kinds of archives that get sent to Zenodo: software and data. The software archive-on-tag is working now, and is only triggered on By unifying the scheduled and tagged builds, do you mean that we only ever build on a schedule, and every tagged release would just be adding an additional tag to the successful nightly build that we've decided to use as a new versioned release? So we could just package up that commit and its build outputs without needing to re-run anything? That sounds nice and clean to me! One issue that might come up there is that typically there's a post-build edit to the release notes that happens to close off the old section (which is changes that go into the release) and open up a new section. But I imagine lots of other software also has this problem so there must be some way around it. |
docs@zaneselvans with RTD, we're currently set up to include these versions on our website:
I think in the
Which also happens to be the default RTD behavior, I think! I think the reasons to drop `nightly` in docs buildThinking about use cases: - someone who is developing PUDL using the website as a reference: likely to be on the latest commit of `main` regardless of nightly build passing - someone who is debugging a specific nightly build failure: likely to be on some `nightly-XXXX-XX-XX` tag - someone who's using a pinned numeric version of PUDL: likely to be using that specific version - someone who's using an installed version of PUDL pinned to some git branch like `main` - likely to be on some random commit that is some amount behind the head of `main`The first case is the most common one, and best served by git branchesI think the Pros of keeping the
Cons of keeping the
Pros of dropping the
Cons of dropping
WDYT about dropping |
|
Ah! We could point Then we have: RTD RTD default landing page is That all seems pretty straightforward to do! And implies that we keep We can set up the RTD stuff once |
I think that would also imply that we want the AWS outputs to have |
Hmm. I really like |
It looks like we can set the default version to Which I think would replicate the default RTD behavior, except that there'd be an additional
|
Works for me!
Zane Selvans ***@***.***>于2023年12月20日 周三下午6:09写道:
… It looks like we can set the default version to nightly under Advanced
Settings, and let latest point at the default branch main which is the
normal RTD behavior.
image.png (view on web)
<https://github.com/catalyst-cooperative/pudl/assets/596279/5c26b06a-1250-4d05-9fdf-b7d3cca2ef21>
—
Reply to this email directly, view it on GitHub
<#3140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATBKMWMOWEP6K7HUMHF3PLYKNV2NAVCNFSM6AAAAABANIPUB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGI2TSNRUGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
OK, I went and fiddled with RTD settings. I think that if the nightly build works and pushes nightly branch, RTD should make a nightly version that will appear on the website. Once that docs build exists we can switch the default to |
I'm gonna give the build and all the new machinery like a 10% chance of succeeding. 🤞🏼 |
I went ahead and updated the RTD configuration, so it is now building and serving the |
Earlier context in this discussion
We spend a bunch of time juggling the
dev
andmain
branches which complicates some of our automation and development flows. It also means thatmain
anddev
are divergent. Which one is the authoritative history of the project? Who really knows?The desired end state is to get rid of
dev
and branch everything off ofmain
.We want to keep building nightly builds, and have tagged release versions.
The RTD updates appear to be mostly about configuring the readthedocs project.
Success criteria
dev
branch #3179The text was updated successfully, but these errors were encountered: