Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 Yesterday 21:46:09

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,674
GitHub

Re: Textpattern's ongoing development

wet wrote #342171:

One might also consider the usance of *ix people calling one of their releases LTS.

+1.

Offline

#14 Yesterday 22:05:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,358
Website GitHub

Re: Textpattern's ongoing development

gaekwad wrote #342169:

calling it 4.9.x or something similar makes it clear of its purpose.

Makes sense. I was thinking each rev would get its own branch and we’d delete the old one but, for continuity sake and less faff with scripts, you’re right that it makes sense to use a generic name.

Anyone fancy taking a stab at renaming a branch can do so from GitHub, but that has ramifications for people whom have cloned already when syncing, as outlined in the link above.

So maybe the better option is to do it at the command line:

git checkout v4.9.1
git pull
git branch 4.9.x
(change any file superficially like History.txt)
git commit
git push -u origin 4.9.x
git branch -D v4.9.1
git push origin --delete v4.9.1

Something like that ought to do it.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#15 Yesterday 22:10:53

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,358
Website GitHub

Re: Textpattern's ongoing development

gaekwad wrote #342172:

This should also be considered for the other project repos, too – themes, docs (which is a whole other thing that needs unpacked), and toolbelt scripts off the top of my head.

Yes. Let’s make 4.9.x branches for all these projects too.

The checksums toolbelt script for the new 5.0.0 dev needs to reflect the change to TXPINTERFACE, for example. There will be others.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#16 Yesterday 22:17:22

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,674
GitHub

Re: Textpattern's ongoing development

Bloke wrote #342175:

Makes sense. I was thinking each rev would get its own branch and we’d delete the old one but, for continuity sake and less faff with scripts, you’re right that it makes sense to use a generic name.

Prior to today, we used dev and published a tag for each release, so a similar workflow would work just fine: use 4.9.x in place of dev for the v4.9 releases, and tweak the toolbelt script so it uses the correct branch.

My gut feeling is that we need to spec this split out a bit more before we commit to it as it has knock-on effects with the other repos as well as downstream cloners. Would you be open to a bit more discussion, Bloke?

Offline

#17 Yesterday 22:22:48

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,674
GitHub

Re: Textpattern's ongoing development

Bloke wrote #342175:

Anyone fancy taking a stab at renaming a branch can do so from GitHub, but that has ramifications for people whom have cloned already when syncing, as outlined in the link above.

According to this the 4.9.1 branch is 425 commits behind dev, which seems high…does that make sense to you, Bloke?

Edit: actually, it looks like the custom-fields stuff folded in accounts the commits. Ignore the above

Last edited by gaekwad (Yesterday 22:26:41)

Offline

#18 Yesterday 23:58:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,358
Website GitHub

Re: Textpattern's ongoing development

gaekwad wrote #342177:

Would you be open to a bit more discussion, Bloke?

Always.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB