1 of 26

GSoC Improvements on Plonecli

By Kumar Akshay

2 of 26

about me

  • I’m a senior student pursuing Bachelor in Electronics and Communication Engineering.
  • In my free time, I love to participate in algorithmic focused coding challenges.

3 of 26

GSoC milestones

First Evaluation

Second Evaluation

Third Evaluation

Improved content_type subtemplate and other minor updates

Added add/update locale, mrbob default profile, test commands in plonecli

Added view, viewlet, portlet

May

June

July

August

4 of 26

bobtemplates.plone

  • Uses mr.bob to generate boilerplate code for different plone templates.
  • You can generate templates like
    • addon
    • theme_package
    • buildout

5 of 26

bobtemplates.plone

  • And subtemplates
    • behavior
    • content_type
    • theme
    • theme_barceloneta
    • portlet
    • view
    • viewlet
    • vocabulary

6 of 26

bobtemplates.plone

  • And subtemplates
    • behavior
    • content_type
    • theme
    • theme_barceloneta
    • portlet
    • view
    • viewlet
    • vocabulary
  • things that I worked on

7 of 26

content_type sub-template

8 of 26

content_type sub-template

  • parent content_type name if global_allow is false
  • Hiding filter option if dexterity_type_base_class is item

  • increased test coverage for all conditional configurations
  • Robot tests coverage too

9 of 26

view sub-template

10 of 26

view sub-template

11 of 26

viewlet sub-template

12 of 26

viewlet sub-template

13 of 26

portlet sub-template

14 of 26

portlet sub-template

15 of 26

portlet sub-template

16 of 26

plonecli

  • It’s a wrapper on bobtemplates.plone
  • CLI for easy usage and simple to remember commands

17 of 26

Why do we need plonecli config command?

18 of 26

plonecli config command

19 of 26

update_locale command

20 of 26

other minor improvements

  • More useful commands in plonecli
    • plonecli -V
    • plonecli test -t/-s/-a

  • Increased test coverage
    • 6.66% increase in plonecli
    • 2% increase in bobtemplates.plone

21 of 26

other minor improvements

  • For more detail -

https://github.com/plone/plonecli/wiki/Google-Summer-of-Code-Project-Report

22 of 26

GSoC experience

  • Fun
  • Huge learning curve
  • Constant mentor support
  • Very friendly community

23 of 26

GSoC mentors

Maik Derstappen

Alexander Loechel

Encolpe Degoute

24 of 26

plonecli

To know more about present and future scope of plonecli

“Plone CLI” by Maik Derstappen

On Nov 9 between 12:20 - 12:40 PM

25 of 26

project links

26 of 26

Thank You

Any questions?