Bug 1805 - GUI helper to start creating a recipe
Summary: GUI helper to start creating a recipe
Status: RESOLVED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.2 M2
Assignee: Jessica
QA Contact:
URL:
Whiteboard: (p2)(QA Testing Complete) - Impl 100%...
Depends on:
Blocks:
 
Reported: 2011-12-01 16:57 UTC by Joshua Lock - Disabled
Modified: 2012-02-02 08:08 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.