dolibarr information for developers

Download Dolibarr information for developers

If you can't read please download the document

Upload: laurent-destailleur

Post on 24-Jan-2017

45 views

Category:

Software


1 download

TRANSCRIPT

DevCamp - Valence 2016

Laurent Destailleur Project leader2016-12

Dolibarr ERP CRM
Information for developers

GitHub - Meaning of version / issue tags

Version tagsx.y.z=> x=major, y=minor, z=fixes => y should be often 0Issue labels on GitHubPR to mergePR need tester feedbacksPR not qualifiedPR postponedPR to fix or conflict to solveDiscussionPriority: None or low - Medium - High (no release with such issue opened)

Demo of a release process

makepack_dolibarr.plCreate the filelist.xml file.Build packages.Check ChangeLog was completed.Create Git tag.Send packages on official storage (https://www.dolibarr.org/files/stable)Send packages to sourceforge mirrors

Announcement is still published manually

Mysql strict mode is mandatory during developmenthttps://wiki.dolibarr.org/index.php/Language_and_development_rules#Mysql_specificitiesUse of skeleton => New repository to build a modulehttps://github.com/Dolibarr/dolibarr-module-template (need to be updated but should replace skeleton directory in the future)PHP UnitsDo not rely on non stable or hidden features (non official and experimental). They might be removed at any time, no announcement, no support and no migration provided -> to ask a hidden feature to be moved as stable, open a Feature Request

Remind of best practice - for developers

Review your screenshot with 5.0 (not for new features but for new look):50% of new visitors go to see screenshots. They make their opinion on this.Do not build your business plan on selling modules or source code

Remind of best practice - for business

Create a demo with real data with the initdemo.sh scriptUse Filter on __DAY__, __MONTH__, __YEAR__ on url.Repair corrupted data with /install/repair.phpUse &logtohtml=1 on URL.Use new properties into your module descriptor$this->descriptionlong = "A very long description. Can be a full HTML content";$this->editor_name = 'Editor name';$this->editor_url = 'http://www.dolibarr.org'

Things that should be more known

The new REST APIs

No more SOAP services will be addedLets have a live demo of the REST API explorer...