- This topic has 7 replies, 3 voices, and was last updated 2 years, 3 months ago by David.
-
AuthorPosts
-
January 7, 2022 at 2:45 pm #2072814Elvis
Hi,
I come from custom theme development git workflow, weather for colab reasons or simply to be able to branch, revert to older commits etc.
Now that I move to GP as my framework I find my self lost, how do you handle project development version tracking here?
I am thinking, customizer settings, elements, global styles, local templates … dynamic css
I’ve found this https://versionpress.com/ but as the website says its not in stable mode yet.
Am I missing a tool, a protocol of working, a way of thinking …?
Please help
January 7, 2022 at 6:04 pm #2072917LeoStaffCustomer SupportHi there,
The theme itself (any themes) doesn’t handle things like this – the dashboard functionalities are basically all handled by WordPress core.
I would assume there are plugins out there that offer this type of feature though but unfortunately I’ve not used one before.
January 8, 2022 at 12:02 am #2073079ElvisHello Leo,
That is not neccessarily true. Bricksbuilder is a theme, and has its native revision system, for example.
I understand the separation of concearn logic in your answer, themes are for design, plugin for functionality etc. but since GP & GB are handling much of the development process of a website, this should not neccesarily apply any more.For example, dynamic CSS is in DB, not a file … so I cannot use git to handle this. Elements may contain a more complex layout/code, again what if it gets accidentally deleted or smtn. https://generatepress.com/forums/topic/add-post-revisions-to-generate-elements/
The plugin above seems to be abandoned (looking at github) and I cannot find any other.
So I assume backups are used to do this? As a designer/dev using GP & GB yourself … how do you approach your build process and saving the work while you are working.tnx
January 8, 2022 at 7:38 am #2073294DavidStaffCustomer SupportHi there,
that VersionPress looks pretty impressive, its the only solution i have seen that does Git version control of database content – it could be groundbreaking when its ready for the wild.
Before that happens, generally its going to be server backups and staging sites for managing updates.
As a bare minimum i have daily / 2x daily auto backups on sites and i make major updates on Staging servers.I am sure big content creators have their own workflow systems for managing content revisions and updates.
January 8, 2022 at 10:22 am #2073555ElvisHello David,
that VersionPress seems abandoned, sadly. Github has not been updated for quite some time. π
Since Customizer has an export feature, and the rest of generatepress & generateblocks stuff elements, global styles, local templates are CPTs … inclding standard Revisions feature in them, would solve A LOT in this regard.
I see its been a plan for a while https://generatepress.com/forums/topic/add-post-revisions-to-generate-elements/
Will wait for that then.
Best,
ElvisJanuary 9, 2022 at 7:05 am #2074185DavidStaffCustomer SupportThats a shame, the only alternative i could find was Revisr and that also has been abandoned. There just doesn’t seem to be the demand for this kind of thing.
Elements and revisions is something we should address, although personally i have never felt the need for it π They are Post types so they can be exported like any other if need be.
January 9, 2022 at 1:03 pm #2074608ElvisDavid,
I feel post revisions would be pretty nice as they would allow me to deal with edit histories per post/element, etc, not the entire website as is the case with using a backup tool.
For now I will just add wp-cli’s “wp db export” to my git workflow. That seems like a simple enough addition, and will enable me to revert back, if I ever need to, simply.
Thanks for thinking about this with me.
πJanuary 10, 2022 at 4:11 am #2075169DavidStaffCustomer SupportSounds like a plan – and thanks for sharing that !
-
AuthorPosts
- You must be logged in to reply to this topic.