[Discuss] Extension Skeleton Development Tool

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16981
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

[Discuss] Extension Skeleton Development Tool

Post by DavidIQ » Tue Mar 29, 2016 5:07 pm

Please use this topic to discuss the blog post Extension Skeleton Development Tool
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
3Di
Former Team Member
Posts: 13691
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di » Tue Mar 29, 2016 7:22 pm

I was bound to ask VSE about why not to better expose this useful extension.
Like to put it into the extensions in development forum.

I forked it a while ago, found on github while navigating. Though I have serious probs to make it working, I reported into the issues tracker and I hope to get some answers. It is a very interesting tool for developpers, thank you. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

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

Re: [Discuss] Extension Skeleton Development Tool

Post by david63 » Wed Mar 30, 2016 1:24 pm

Just had a quick look at this and it came back with an error
Catchable Fatal Error: Argument 3 passed to phpbb\template\twig\twig::__construct() must be an instance of phpbb\template\context, instance of phpbb\user given, called in C:\htdocs\phpbb_dev\ext\phpbb\skeleton\helper\packager.php on line 116 and defined
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
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 » Wed Mar 30, 2016 1:34 pm

david63 wrote:Just had a quick look at this and it came back with an error
Catchable Fatal Error: Argument 3 passed to phpbb\template\twig\twig::__construct() must be an instance of phpbb\template\context, instance of phpbb\user given, called in C:\htdocs\phpbb_dev\ext\phpbb\skeleton\helper\packager.php on line 116 and defined
That's because you are trying to use this on 3.2 and it was designed for 3.1.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16981
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by DavidIQ » Wed Mar 30, 2016 1:41 pm

Please report that to the GitHub repo as we'll need to make it 3.2 ready as well. Thanks.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 » Wed Mar 30, 2016 1:45 pm

I've made a PR against the 3.1 branch (added ext.php to disallow installing it on boards > 3.2.0@dev).
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
3Di
Former Team Member
Posts: 13691
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di » Wed Mar 30, 2016 1:59 pm

1 month ago I issued this one:
https://github.com/nickv-phpbb/phpbb-ex ... /issues/10
Using 3.1.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
3Di
Former Team Member
Posts: 13691
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di » Wed Mar 30, 2016 2:04 pm

RMcGirr83 wrote: > 3.2.0@dev).
Should it be >= 3.2.0@dev ?

Edit: I saw your PR, < is the way to go.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 » Wed Mar 30, 2016 2:19 pm

DavidIQ wrote:Please report that to the GitHub repo as we'll need to make it 3.2 ready as well. Thanks.
There should be releases?
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

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

Re: [Discuss] Extension Skeleton Development Tool

Post by david63 » Wed Mar 30, 2016 2:26 pm

Sorry did not realise it did not work on 3.2

So I went to my 3.1 board - ran it again and all it created were three files
  • composer.json
  • license.txt
  • README.md
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
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16981
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by DavidIQ » Wed Mar 30, 2016 2:29 pm

RMcGirr83 wrote:There should be releases?
I'm not sure what that means.

FYI for everyone: the repository ownership has been changed and moved to:
https://github.com/phpbb-extensions/phpbb-ext-skeleton

The blog post has been updated to reflect this change.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

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

Re: [Discuss] Extension Skeleton Development Tool

Post by david63 » Wed Mar 30, 2016 2:34 pm

DavidIQ wrote:
RMcGirr83 wrote:There should be releases?
I'm not sure what that means.
It means that there was a topic a few days ago where VSE said that extensions should not be downloaded directly from a git repro but from a release!
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
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16981
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by DavidIQ » Wed Mar 30, 2016 2:38 pm

david63 wrote:It means that there was a topic a few days ago where VSE said that extensions should not be downloaded directly from a git repro but from a release!
VSE wrote:Poke
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 » Wed Mar 30, 2016 2:40 pm

DavidIQ wrote:
RMcGirr83 wrote:There should be releases?
I'm not sure what that means.
https://github.com/phpbb-extensions/php ... n/releases

I was led to believe, by Paul and/or VSE, that if there are releases they should be packaged and made available. That way users don't have to download the zip, unzip, rename the directory (in this case phpbb-ext-skeleton-3.1.x), upload to the forum, etc.

for example, https://github.com/RMcGirr83/phpBB-3.1- ... /tag/1.2.0

PS is that ext.php file I made going to be merged?
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
3Di
Former Team Member
Posts: 13691
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di » Wed Mar 30, 2016 2:41 pm

david63 wrote:Sorry did not realise it did not work on 3.2

So I went to my 3.1 board - ran it again and all it created were three files
  • composer.json
  • license.txt
  • README.md
Yes, same here.

Because of this I think
https://github.com/phpbb-extensions/php ... /issues/10

Do you have debug enabled?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Post Reply

Return to “phpBB Discussion”