Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-06-27 09:58:26

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,132
Website

Plugins - Composer support

As part of our rethink on how plugins should be listed, maintained, installed – currently overseen by the old textpattern.org site but long overdue for a better method – I’d like to propose that plugin authors start bringing Composer support into their plugins. I’ve just done so for etc_pagination and it’s a fairly straightforward process. Of course the current method of pasting plugin code into the CMS is fine too and can continue, but Composer offers so much more on top of that:

  • Version tracking via Packagist.
  • Simple plugin installation via command line, or dropping flat files into a vendor directory.
  • Simple updates, again via command line or flat files.
  • An API we can use on a replacement for textpattern.org.

If anyone wants help with Composer support, and have their plugins on either GitHub (preferred) or Bitbucket then I can probably help with a pull request to set this up (time allowing).

Offline

#2 2018-08-21 11:13:55

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Plugins - Composer support

Hi,
who is allowed to acceed to the textpattern related packagist account?
Phil and I asked for Jukka to release a new textpattern/lock version, but he is not that available for a while now.
I guess the core team could fork Jukka’s repo, release new versions and update the repo URL in packagist, couldn’t it?

Last edited by NicolasGraph (2018-08-22 06:48:35)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#3 2018-08-21 12:34:15

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,132
Website

Re: Plugins - Composer support

I have access to the Textpattern Packagist account. I did raise an issue in Textpattern-lock repo but we could certainly fork as that didn’t get a response.

Offline

#4 2018-09-17 07:20:53

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Plugins - Composer support

Hi,
Any news about forking textpattern/lock ?

It would be really nice if the installer / lock couple would be officially supported and maintained.
As a plugin author, I’m not sure for now if I could/should document the install via Composer because of the lacking support of lock for Txp 4.7 .

While it is a different topic, I would also like to see MassPlugCompiler promoted; it makes plugin developpement and compilation really handy by allowing to have different source files.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#5 2018-09-17 07:30:50

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,132
Website

Re: Plugins - Composer support

Can you raise an issue on Textpattern main repo please and I’ll fork that to our project. I’m away this week so can do next Monday (or another team member might do for you).

Offline

#6 2018-09-17 08:07:29

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Plugins - Composer support

philwareham wrote #314075:

Can you raise an issue on Textpattern main repo please and I’ll fork that to our project. I’m away this week so can do next Monday (or another team member might do for you).

Done; thanks for attention Phil.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB