[3.2][RC] Extension .yml check

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
david63
Registered User
Posts: 16682
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Extension .yml check

Post by david63 » Tue Nov 05, 2019 11:45 am

Updated to RC3
  • Now checks all files in the config folder, and any sub folders (thanks kasimi!!)
  • All extensions that are in the ext folder are checked and marked as "Enabled", "Disabled" or "Dormant" - a dormant extension is one that is not enabled.
  • Renamed to "Extension .yml check" as it seems more appropriate.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 2983
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: [3.2][RC] Extension .yml check

Post by warmweer » Tue Nov 05, 2019 12:19 pm

david63 wrote:
Tue Nov 05, 2019 11:45 am

[*]All extensions that are in the ext folder are checked and marked as "Enabled", "Disabled" or "Dormant" - a dormant extension is one that is not enabled.
"Dormant" being uploaded but never having been enabled? Does that then imply that the files can be removed without any other action being necessary (no data to be deleted)?
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4053
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][RC] Extension .yml check

Post by HiFiKabin » Tue Nov 05, 2019 12:20 pm

Just a suggestion. In the FTP client extensions are listed by vendor, then by extension name. Might it be helpful to have the extensions listed by vendor in the extension?

Not a big deal I know but just my 2c

User avatar
david63
Registered User
Posts: 16682
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Extension .yml check

Post by david63 » Tue Nov 05, 2019 12:36 pm

warmweer wrote:
Tue Nov 05, 2019 12:19 pm
"Dormant" being uploaded but never having been enabled? Does that then imply that the files can be removed without any other action being necessary (no data to be deleted)?
Not quite - it means that the extension is not currently enabled/disabled. You should be OK to delete them.
HiFiKabin wrote:
Tue Nov 05, 2019 12:20 pm
Might it be helpful to have the extensions listed by vendor in the extension?
The latest release also lists the vendor next to the extension name because I found it a problem when I was testing. You can never please everyone with the sort order - and I aint changing it!!
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4053
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][RC] Extension .yml check

Post by HiFiKabin » Tue Nov 05, 2019 1:25 pm

david63 wrote:
Tue Nov 05, 2019 12:36 pm
HiFiKabin wrote:
Tue Nov 05, 2019 12:20 pm
Might it be helpful to have the extensions listed by vendor in the extension?
The latest release also lists the vendor next to the extension name because I found it a problem when I was testing. You can never please everyone with the sort order - and I aint changing it!!
Fair enough David. Its an excellent tool however it lists things

TritonZA
Registered User
Posts: 39
Joined: Sat Jan 16, 2016 6:25 am

Re: [3.2][RC] Extension .yml check

Post by TritonZA » Tue Nov 05, 2019 2:16 pm

This is an excellent tool so thank you for the time putting it together.

My 2c visual aspect to it - I would suggest making the non-compatible extensions coloured in RED so that they stand out on the table and can be located quickly.

I find the Italic Bold text a bit difficult to discern from the normal text.

Cheers,

User avatar
thecaretaker1
Registered User
Posts: 50
Joined: Tue Dec 30, 2014 8:38 pm

Re: [3.2][RC] Extension .yml check

Post by thecaretaker1 » Wed Nov 06, 2019 12:27 am

Thank you so much. Your extension made it very easy to spot the incompatible .yml files and re-write them to make them compatible.

Before:
before.png

After:
after.png

I'm sure some of those older extensions may get an update before phpBB 3.3 and I appreciate your extension doesn't guarantee that an extension will still work with 3.3, but it is a step in the right direction.

Many thanks for this, much appreciated!

User avatar
david63
Registered User
Posts: 16682
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Extension .yml check

Post by david63 » Wed Nov 06, 2019 3:29 pm

Updated to RC4 - just a few cosmetic improvements
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Dler
Registered User
Posts: 3
Joined: Sun Oct 28, 2018 2:21 pm

Re: [3.2][RC] Extension .yml check

Post by Dler » Wed Nov 06, 2019 4:47 pm

Thank you for the extension.

What do I have to change now if I get an extension in this message?

The services.yml file is invalid
The tables.yml file is invalid

User avatar
warmweer
Registered User
Posts: 2983
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: [3.2][RC] Extension .yml check

Post by warmweer » Wed Nov 06, 2019 4:50 pm

Dler wrote:
Wed Nov 06, 2019 4:47 pm
Thank you for the extension.

What do I have to change now if I get an extension in this message?

The services.yml file is invalid
The tables.yml file is invalid
At the moment nothing, but for 3.3 those files will have to be edited to comply with standard (and the extension may/will not work if it's not compliant).
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

User avatar
</Solidjeuh>
Registered User
Posts: 1732
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Extension .yml check

Post by </Solidjeuh> » Wed Nov 06, 2019 5:38 pm

Reformat .yml with https://jsonformatter.org/yaml-formatter, and the ext should work on 3.3. I already did 17 extensions with that, and they all work.

Dler
Registered User
Posts: 3
Joined: Sun Oct 28, 2018 2:21 pm

Re: [3.2][RC] Extension .yml check

Post by Dler » Wed Nov 06, 2019 5:53 pm

nice. thx. :D

User avatar
</Solidjeuh>
Registered User
Posts: 1732
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Extension .yml check

Post by </Solidjeuh> » Wed Nov 06, 2019 6:00 pm

Dler wrote:
Wed Nov 06, 2019 5:53 pm
nice. thx. :D
But be careful with that on live boards. Some extensions needs extra work! Some may break your board, or will give warning messages. Oneall & VIP donation from Dmzx extensions etc. don't work.

TritonZA
Registered User
Posts: 39
Joined: Sat Jan 16, 2016 6:25 am

Re: [3.2][RC] Extension .yml check

Post by TritonZA » Thu Nov 07, 2019 6:53 am

TritonZA wrote:
Tue Nov 05, 2019 2:16 pm
This is an excellent tool so thank you for the time putting it together.

My 2c visual aspect to it - I would suggest making the non-compatible extensions coloured in RED so that they stand out on the table and can be located quickly.

I find the Italic Bold text a bit difficult to discern from the normal text.

Cheers,
Thanks for adding in the red X's - makes it easy to see what is not compatible :D

User avatar
david63
Registered User
Posts: 16682
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Extension .yml check

Post by david63 » Thu Nov 07, 2019 1:48 pm

</Solidjeuh> wrote:
Wed Nov 06, 2019 5:38 pm
Reformat .yml with https://jsonformatter.org/yaml-formatter, and the ext should work on 3.3. I already did 17 extensions with that, and they all work.
Be aware that that formatter does not correct problems in routing.yml files.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Post Reply

Return to “Extensions in Development”