Submitting extensions to the CDB for multiple phpBB versions

Discussion forum for Extension Writers regarding Extension Development.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by HiFiKabin »

Paul wrote: Mon Jan 09, 2017 11:29 am
HiFiKabin wrote: Mon Jan 09, 2017 11:01 am ... and what about the extensions I have in the validation queue that will work on both versions? Do I just wait until approval (or not) or is it best to resubmit them again now?
If the current version in queue works with both 3.1 and 3.2, please post in the queue discussion topic, and we will mark it as such. Otherwise, you will or need to wait till it is validated, or resubmit it and loose the current queue position.
Thanks Paul, that makes sense
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by RMcGirr83 »

Paul wrote: Mon Jan 09, 2017 11:29 am or resubmit it and loose the current queue position.
maybe, maybe not?
Paul wrote: Sun Jan 08, 2017 7:37 pm Yes, because it needs to be tested. Please mention it in the validation notes if there is nothing else changed (Except for the version number! in the composer.json) and we might validate it with priority.
PS All my current extensions work in both versions with the exception of the top five one due to css changes(I think...I took a cig/coffee break).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by spaceace »

would this be a valid version constraint for phpBB 3.1.0 and greater including 3.2?

Code: Select all

    "require": {
        "php": ">=5.3.3",
        "phpbb/phpbb": ">=3.1.0"
    },
    "extra": {
        "soft-require": {
            "phpbb/phpbb": ">=3.1.0"
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by _Vinny_ »

spaceace wrote: Wed Mar 22, 2017 12:10 am would this be a valid version constraint for phpBB 3.1.0 and greater including 3.2?

Code: Select all

    "require": {
        "php": ">=5.3.3",
        "phpbb/phpbb": ">=3.1.0"
    },
    "extra": {
        "soft-require": {
            "phpbb/phpbb": ">=3.1.0"

Code: Select all

"phpbb/phpbb": ">=3.1.0,<3.3"
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by 3Di »

Code: Select all

"phpbb/phpbb": ">=3.1,<3.3.0@dev"
?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by david63 »

Personally I cannot see why you want to enter an upper version constraint unless you know several versions ahead that the extension will not work with that version.

OK - currently it makes little or no difference because whatever is in composer.json file is only for information but when/if that data is used when installing any upper constraints may have an impact on installing an extension.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by 3Di »

^^ ditto.
But the constraint in any case should be valid/correct, for the sake of future implementations as well.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: Submitting extensions to the CDB for multiple phpBB versions

Post by javiexin »

Code: Select all

"phpbb/phpbb": "~3.1.11||~3.2.1"
I have been recommended to use this, and it makes sense as there you specify a minimum version PER BRANCH and specifically the branches you know of...

In that discussion there are a lot more considerations and options. The summary is in this post, but several people contributed (Nicofuma, VSE, kasimi, 3Di).
viewtopic.php?p=14627186#p14627186

Hope this helps.
-javiexin
Post Reply

Return to “Extension Writers Discussion”