Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343885 - layman changes for and including a New API useable by other apps
Summary: layman changes for and including a New API useable by other apps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sebastian Pipping
URL: http://91.191.147.225/~dol-sen/git/la...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-02 19:32 UTC by Brian Dolbec
Modified: 2011-03-09 06:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec (RETIRED) gentoo-dev 2010-11-02 19:32:27 UTC
As part of the 2010 GSOC kuroo project, I have created a new public api that can be used by other apps to easily import and run layman operations.  I have made changes where necessary to properly redirect output to a configured output variable.  The original python classes that performed layman operations were not suitable and duplicated code in each other.  They were only suitable for a one time use via command line.  This new api class performs all the same actions, can be run continuously from a gui or any other app to perform multiple operations.

Included in this git repo is the changes needed for yet another GSOC project that added a new repo type.  There is a layman-8888.ebuild available in the kuroo overlay that will download and install this git branch.

There is also another "c-layman" lib and ebuild that creates a c interface lib to this new api that can be used by other non-python based applications. It too is available in the kuroo overlay.

I look forward to hearing back about the changes and their possible merge into layman.  This new api class can also completely replace the old action classes.  I can migrate the cli to use this new api to eliminate the code duplication if so desired.

P.S. I have contacted sping in the past, but it has been months now without any response.

Reproducible: Always
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2010-11-04 18:38:20 UTC
fix the summary description.
Comment 2 Wormo (RETIRED) gentoo-dev 2010-11-09 06:02:55 UTC
Neat :)

Assigning to maintainer.
Comment 3 Sebastian Pipping gentoo-dev 2011-01-19 00:39:19 UTC
Coming back to you now is on my todo list.  Please give me a few more days, though.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2011-03-09 06:07:08 UTC
Since Sebastian has made me the new maintainer.  I have this and further development underway and in git at it's new location on overlays.gentoo.org.

Look for a layman-2.0 in the future along with a gui Frontend in both kde4 and gtk