clean-up docs to avoid version-mismatches in BE and FE in new installs (for develop) #377
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#377
Loading…
Reference in a new issue
No description provided.
Delete branch "(deleted):develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I fixed up the documentation a little bit so it should take care that both BE and FE are installed in their correct and matching versions from the respective development-branches, when akkoma is installed from source using git.
This should avoid problems with new installations from git running develop-BE, but running but running Pleroma-FE in stable, which might result in some issues when upgrading and a breaking change is made in develop-BE that is not yet accounted for in stable-FE.
ah right this will cause rather unfun merge conflicts with stable when develop gets merged into stable - we should probably recommend
stable
across all docsor if we wanted to be really cute about things we could use tags? i already tag releases when i do them, so we could recommend checking out the latest tag instead of a stable branch?
https://meta.akkoma.dev/t/akkoma-stable-2022-12-automatic-static/225#from-source-9 for the "checkout out a tag" thingy
🤔 I am thinking about how much sense there is right now to merge this right now for the develop-docs. Certainly we have some mismatches in the develop-documents still where it says to install stable FE on a develop frontend.
On the other hand I am reworking the documentation a bit from a structural standpoint right now, see this thread: https://meta.akkoma.dev/t/rework-of-documentation/256
So I don't how relevant this will be. Adding the line where the lastest (stable) version is checked out should be fine.
If I understand you correctly you want the people to always install stable (so basically a numbered version) from now?
Then I think there is no need for two different branches of the documentation or do I overlook something?
One could also think about merging the whole documentation into one thingie or something. So instead of having https://docs.akkoma.dev/stable and https://docs.akkoma.dev/develop one could use just one documentation version on https://docs.akkoma.dev/, which defaults to stable and have a dedicated section for devs like we have under https://docs.akkoma.dev/stable/development/?
I am sorry if this comes across as confusing. I did my best explaning. basically having two different docs on two branches is bound to lead to problems really.
yeah you missed something - stable is basically just a snapshot of development, development will get merged into stable once a month, so differences get overwritten
but yes going forward it'll make more sense to check out numbered releases instead of having to do the whole merge dance - i'll deprecate the branch next release, and remove it one after that
So what would be the best cause of action for the docs then? I was using the develop-branch for my rework of course. I would update the rework accordingly so numbered releases are used instead for BE then.
Also if I understand correctly you will deprecate and remove the stable branch, since "stable" is numbered releases now anyway?
Also will pleroma-fe stay the same as is now (in terms of there being two branches)? Or do you think a tagged release might be useful there as well?
stable merged back into develop via
11ec4e1b8f
also, no need for tagged releases in pleroma-fe, since we use an internal update mechanism anyhow (via the frontend.install thingy)
Pull request closed