[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!
Ideas Centre
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26257
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by Paul »

RMcGirr83 wrote:@Paul I disagree. EPV is already run when submitting to the CDB plus I have run into issues with false positives using EPV and travis in the past (can't find it now naturally).
And thats called insta-deny, which requires unneeded work for a extensions teammember.
Only things that should be "required" would be the license and the type. If an extension writer wants to include EPV when testing on travis that would require a check on the yes box. Are you going to allow extension writers, if using dependencies, to include the EPV stuff within their extension when submitted to the CDB after they compiled it using composer? I highly doubt it.
Yes, there are already extensions approved with it included. Also, it is in require-dev, so if you run composer without requiring dev dependencies, it is not in included anyways.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
User avatar
Boardtalk.net
Registered User
Posts: 1219
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by Boardtalk.net »

Is this working for anyone? All I'm getting on my 3.1.8 is
Fatal error: Class 'Symfony\Component\Finder\Finder' not found in /ext/phpbb/skeleton/helper/packager.php on line 167

Would love to get this up and running as it sounds very interesting... cheers folks :)
User avatar
3Di
Former Team Member
Posts: 15702
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 »

@ Boardtalk.net

Has been already discussed in this very Topic. :)
Ticket: https://github.com/phpbb-extensions/php ... /issues/10
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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
Boardtalk.net
Registered User
Posts: 1219
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by Boardtalk.net »

3Di wrote:@ Boardtalk.net

Has been already discussed in this very Topic. :)
Ticket: https://github.com/phpbb-extensions/php ... /issues/10
Ah, thanks for that but what is meant by this...
In the meantime you should use this ext inside a clone of the phpBB repo...
... I don't understand what this means.
Thanks
User avatar
3Di
Former Team Member
Posts: 15702
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 »

Boardtalk.net wrote:
3Di wrote:@ Boardtalk.net

Has been already discussed in this very Topic. :)
Ticket: https://github.com/phpbb-extensions/php ... /issues/10
Ah, thanks for that but what is meant by this...
In the meantime you should use this ext inside a clone of the phpBB repo...
... I don't understand what this means.
Thanks
At the present time that finder/finder does exists if you clone the phpBB repository from github and then clone this extension into it.

Or else, the guys are already working on making a build script that will avoid anyone to get crazy (if does not know the how to) doing that.

Once done it will be simply downloadable and installed as a normal extension, it is anyway a bug as it has been already stated, but condider please that's a DEV release.
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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
Boardtalk.net
Registered User
Posts: 1219
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by Boardtalk.net »

Thanks 3Di, appreciate the explanation - I wasn't sure if he was explaining a work around or not ;)
Cheers
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5164
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by MattF »

A packaged release version is now currently available. It will now work in standard installations of phpBB as well as clones of the phpBB repository. And also phpBB 3.1.x and 3.2.x branches are supported.

https://github.com/phpbb-extensions/php ... n/releases
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Boardtalk.net
Registered User
Posts: 1219
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by Boardtalk.net »

VSE wrote:A packaged release version is now currently available. It will now work in standard installations of phpBB as well as clones of the phpBB repository. And also phpBB 3.1.x and 3.2.x branches are supported.

https://github.com/phpbb-extensions/php ... n/releases
This is great, thanks and works perfectly.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5164
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by MattF »

Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by FoFa »

Hello,

Working fine for me.

But does exist a place where we could find fields explanations ? I don't want to load things I don't need.

Thanks
Formly ForumsFaciles :wink:
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5164
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by MattF »

phpBB's Extension Development Team is pleased to announce the next release of the Extension Skeleton for extension developers.

Extension Skeleton 1.0.1

Change log:
  • Fixed an issue where in phpBB 3.1 boards, the Command Line Interface would not work.
  • Ext skeleton files now have file docblocks uniquely named after the extension (was previously based on phpBB's own docblock). The current date and primary author name are also automatically added to the docblock's @copyright.
  • Ext skeleton ACP PHP files have correct visibility declarations for methods and properties now.
  • Ext skeleton config service files correctly encapsulate all strings in quotes that begin with @ and % per Symfony specifications.
  • Ext skeleton PHP files have all their docblocks updated to be consistent with PSR-5 recommendations.
  • Ext skeleton event class methods that do not use the $event variable do not have them defined as an argument (this is done to demonstrate that the $event argument is only needed if actually used in an event listener method).
  • Internal docblocks have been updated.
Requirements:
  • phpBB 3.1.4 or newer (also compatible with phpBB 3.2.0-b3 or newer)
  • PHP 5.3.9
  • PHP module ZipArchive
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
3Di
Former Team Member
Posts: 15702
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 »

@ VSE

I sincerely think that this post it's worth to create a wiki page of some sort there at the repository.

This will indeed motivate many future extension writers.

Just a thought. :)
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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5164
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by MattF »

3Di wrote:@ VSE

I sincerely think that this post it's worth to create a wiki page of some sort there at the repository.

This will indeed motivate many future extension writers.

Just a thought. :)
That can be added as hover tooltips to them in the next version. But to be perfectly honest, if somebody is developing an extension, they really should be familiar with what each of those components are. Although I think a tooltip would help further expand on what they will generate if enabled..
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
3Di
Former Team Member
Posts: 15702
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 »

VSE wrote:
3Di wrote:@ VSE

I sincerely think that this post it's worth to create a wiki page of some sort there at the repository.

This will indeed motivate many future extension writers.

Just a thought. :)
That can be added as hover tooltips to them in the next version. But to be perfectly honest, if somebody is developing an extension, they really should be familiar with what each of those components are. Although I think a tooltip would help further expand on what they will generate if enabled..
+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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5164
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by MattF »

3Di wrote:@ VSE

I sincerely think that this post it's worth to create a wiki page of some sort there at the repository.

This will indeed motivate many future extension writers.

Just a thought. :)
Also, DOCs started:
https://github.com/phpbb-extensions/php ... Components
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
Post Reply

Return to “phpBB Discussion”