Bug 1805

Summary: GUI helper to start creating a recipe
Product: [Yocto Project Subprojects] ADT Reporter: Joshua Lock - Disabled <josh>
Component: adtAssignee: Jessica <jessica.zhang>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: hongnax.xu, jiajun.xu, poky.adt.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.2 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: (p2)(QA Testing Complete) - Impl 100% done
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Joshua Lock - Disabled 2011-12-01 16:57:27 UTC
Create a GUI helper application which can be given a tarball location (local or remote) and create a recipe skeleton to help people get started with recipe creation.

Steps we can perform:
* If a remote location set SRC_URI
* Generate checksums
* Create empty default fields (DESCRIPTION, SUMMARY, LICENSE, etc)
* Extract the archive to a temporary location and:
  - look for common license files (COPYING, COPYING.LIB, etc) and create a LIC_FILES_CHKSUM entry (otherwise an empty field)
  - look for common build system files and work out which classes to inherit. CMakeLists.txt -> inherit cmake, configure.[ac|.in] -> autotools, setup.py -> disutils(?), etc.

I propose we call the GUI Gran, because your gran shares the family recipes :-)
Comment 1 Jessica 2011-12-19 14:40:37 UTC
Discussed with Josh, it'll be implemented as existing Eclipse bitbake commander recipe template extension
Comment 2 Jiajun Xu 2011-12-30 22:57:57 UTC
For the feature, we will design cases to use the function in bitbake commander to create customized recipe.
Comment 3 Jessica 2012-01-09 10:57:12 UTC
Code is checked in eclipse-poky master and should be picked by M2 build
Comment 4 Jiajun Xu 2012-02-02 08:08:31 UTC
Hongna tested the feature against 1.2 M2 and it could work.