Difference between revisions of "Overlay talk:Flora"

From Funtoo Linux
Jump to: navigation, search
m (Using Flora as an overlay: little updates and layouting...)
(the overlay thing)
 
(3 intermediate revisions by 3 users not shown)
Line 36: Line 36:
  
 
Let's say that you have a flora clone into /root/.git/flora. The following steps will set up flora as an overlay.
 
Let's say that you have a flora clone into /root/.git/flora. The following steps will set up flora as an overlay.
 
If you use the 2008.0 profile:
 
  
 
{{shell
 
{{shell
Line 43: Line 41:
 
}}
 
}}
  
If you use the Funtoo 1.0 profile:
+
Now you're done!
  
{{shell
+
--[[User:Init 6|Init 6]] 01:14, 23 August 2011 (MDT)
| Input = $ echo '/root/.git/flora' >> /etc/portage/overlays
+
}}
+
  
Then, we want to make sure that the flora contributors' masks are set up :
+
Now flora available from layman:
 
+
{{shell
+
| Input = $ cd /etc/portage/package.mask<br>$ ln -s /root/.git/flora/profiles/packages.mask/*
+
}}
+
  
Make sure when you update flora that you check for any new file in /root/.git/flora/profiles/packages.mask/ and link them in your package.mask folder.
+
$ layman -L | grep flora
 +
  * flora                    [Git      ] (git://github.com/funtoo/flora.git...)
 +
$ layman -i flora
  
And you're done!
+
* flora
 +
* 01:14, 23 August 2011 (MDT)
 +
* Sources:
 +
*  1. git://github.com/funtoo/flora.git
 +
*  2. https://github.com/funtoo/flora.git
 +
*
 +
* Contact : Martin Scholz <golodhrim@funtoo.org>
 +
* Type    : Git; Priority: 50
 +
* Quality : experimental
 +
*
 +
* Description:
 +
*  Funtoo Linux Community Overlay
 +
*
 +
* Link:
 +
*  https://github.com/funtoo/flora/
 +
*

Latest revision as of 15:17, 30 December 2012

--JF 14:03, 25 July 2011 (MDT)

I think that the git add and git commit commands that are listed in the release section are confusing. Adding files and committing is done after creating a new feature/hotfix, and before finishing it. Am I right? Here is the "flow" I used for my new feature :


  1. git-flow feature start <package-name>
  2. adding/editing folders/files
  3. git add <folder-name>
  4. git commit -m 'message'
  5. git-flow feature finish <package-name>
  6. git-flow release start <package-name>
  7. <Nothing?>
  8. git-flow release finish <package-name>


I think that the add/commit commands should be removed from the release explanation (or at least moved between the start and finish commands), and added when features and hotfixes are explained.

--golodhrim 15:04, 08/07/2011 (CEST)

already taken care of in the Daily work section :) Thanks for the hint...

[edit] Using flora as an overlay

--JF 10:44, 11 August 2011 (MDT)

For now, packages in flora that override Portage's package are not merged. This is the reason why one could want to use flora as an overlay until this feature is added.

[edit] making flora a pure overlay

To make flora a only overlay just execute the following two commands, we assume use use /root/.git as a folder to store your overlays in:

$ cd /root/.git
$ git clone git://github.com/funtoo/flora.git

[edit] the overlay thing

Let's say that you have a flora clone into /root/.git/flora. The following steps will set up flora as an overlay.

$ echo 'PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /root/.git/flora"' >> /etc/make.conf

Now you're done!

--Init 6 01:14, 23 August 2011 (MDT)

Now flora available from layman:

$ layman -L | grep flora

* flora                     [Git       ] (git://github.com/funtoo/flora.git...)

$ layman -i flora

* flora
* 01:14, 23 August 2011 (MDT)
* Sources:
*   1. git://github.com/funtoo/flora.git
*   2. https://github.com/funtoo/flora.git
* 
* Contact : Martin Scholz <golodhrim@funtoo.org>
* Type    : Git; Priority: 50
* Quality : experimental
* 
* Description:
*   Funtoo Linux Community Overlay
* 
* Link:
*   https://github.com/funtoo/flora/
*
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff