Difference between pages "How to Dev" and "Install/pt-br/Profiles"

(Difference between pages)
m (Development Trees)
 
(Profiles)
 
Line 1: Line 1:
= How to 'dev' =
+
=== Profiles ===
__NOTITLE__
+
  
{{fancytip|This page will continue to be updated with development-related information... thanks for your interest :)}}
+
Uma vez que você tenha reiniciado no Funtoo Linux, você pode mais tarde personalizar seu sistema para as suas necessidade ao usar o Funtoo Profiles.
  
This page serves as the official introduction on how to collaborate with our community and help to improve Funtoo Linux.
+
[[Funtoo 1.0 Profile|Funtoo profiles]] são utilizados para padões para específico Portage para suas necessidades. Há 4 típicos básicos de perfil (profile types): arch, build, [[Flavors and Mix-ins|flavor, and mix-ins]]:
  
== Introduction ==
+
;arch: tipicamente <code>x86-32bit</code> ou <code>x86-64bit</code>, isso define o tipo de processador e suporte do seu sistema. Isso é definido quando seu stage foi construído e não deve ser alterado.
 +
;build: define se seu sistema é um build <code>current</code>, <code>stable</code> ou <code>experimental</code>. Sistemas <code>current</code> terão pacotes mais recentes do que os sistemas <code>stable</code>.
 +
;flavor: define o tipo geral de sistema, tal como <code>server</code> ou <code>desktop</code>, e definirá flags padrões USE apropriadas para as suas necessidade.
 +
;mix-ins: define várias configurações opcionais que você pode estar interessado em habilitar.
  
Thanks for your interest in helping out with Funtoo Linux! Funtoo Linux has existed for several years, and we've been using git since the beginning of the project, but have played with various approaches on how to develop Funtoo Linux in a collaborative fashion. Some approaches have worked, some haven't, and I (Daniel) and others like to periodically experiment with different approaches, so these methods are likely to change in the future.
+
Um arch, build e flavor deve ser definido para cada sistema Funtoo Linux, enquanto mix-ins são opcionais e você pode habilitar mais de um se desejado.
  
Let's start by doing a quick overview of Funtoo infrastructure and how it (currently) relates to Funtoo Linux development.
+
Lembre-se de que profiles pode com frequência serem herdados. Por exemplo, o flavor <code>desktop</code> herda as configurações do flavor <code>workstation</code>, que em retorno herda os mix-ins <code>X</code> e <code>audio</code>. Você pode visualizar isso ao utilizar eselect:
  
== bugs.funtoo.org ==
+
<console>
 +
(chroot) # ##i##eselect profile show
 +
Currently set profiles:
 +
    arch: gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
 +
  build: gentoo:funtoo/1.0/linux-gnu/build/current
 +
  flavor: gentoo:funtoo/1.0/linux-gnu/flavor/desktop
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/kde
  
Currently, [https://bugs.funtoo.org bugs.funtoo.org] serves as the center of operations for all development. If you're going to collaborate with us, then you should definitely {{CreateAccount}} and familiarize yourself with our bug tracker. We try to ensure that ''all'' work in Funtoo Linux has a corresponding issue opened on the bug tracker, so there is some reference for someone to look to find out ''why'' some change was made.
+
Automatically enabled profiles:
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/print
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/X
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/audio
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/media
 +
mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/console-extras
 +
</console>
  
== The Wiki ==
+
Para visualizar profiles instalados:
 +
<console>
 +
(chroot) # ##i##eselect profile list
 +
</console>
  
You are currently reading the wiki, and it is becoming a more and more important part of development. We currently have the ability to define wiki pages for [[:Category:Ebuilds|Ebuilds]], which are used as official documentation for the ebuild. Documentation is a very important part of Funtoo Linux development, and you're strongly encouraged to read about [[Adding an Ebuild to the Wiki]]. Developers who write good documentation gain much respect :)
+
Para alterar o profile flavor:
 +
<console>
 +
(chroot) # ##i##eselect profile set-flavor 7
 +
</console>
  
== git.funtoo.org ==
+
Para adicionar um mix-in:
  
All of our master git repositories exist on [http://git.funtoo.org git.funtoo.org].
+
<console>
 
+
(chroot) # ##i##eselect profile add 10
== GitHub ==
+
</console>
 
+
We have mirrors of all our git repositories on [http://github.com/funtoo GitHub]. When we push to a repository on git.funtoo.org, it automatically pushes the change to the corresponding repo on GitHub, too.
+
 
+
This has historically created some confusion, because we don't really (right now) do active development on GitHub, using pull requests. If you have an improvement to Funtoo Linux, we want you to open a bug on our [https://bugs.funtoo.org bug tracker]. However, I am hoping that this will change - see {{Bug|FL-1322}}. But for now, if you create an issue or a pull request on GitHub, we probably won't see it in a timely manner.
+
 
+
== The Git Repositories Themselves ==
+
 
+
One important thing to understand about Funtoo Linux is that the git tree you receive when you type <tt>emerge --sync</tt> is what I call a ''transport tree'' -- it is used to deliver updates to you, but it is not used for development. Our main <tt>/usr/portage</tt> tree can be seen at http://git.funtoo.org/ports-2012/tree or http://github.com/funtoo/ports-2012 is generated using automated scripts which take the Gentoo Portage tree, various funtoo overlays, and several other overlays and combine them into a unified tree. We generate an updated commit for our transport tree every 4 hours.
+
 
+
=== Development Trees ===
+
 
+
The repositories that we actually do development in are:
+
 
+
{{#ask:[[Category:Repositories]] [[Repository Type::Development Tree]]
+
|? Repository ID}}
+
 
+
[[Repository:Funtoo Overlay|funtoo-overlay]] is where nearly all of the core Funtoo forked ebuilds live. This tree is maintained by senior Funtoo staff and the BDFL, and also contains stuff like our [[Funtoo 1.0 Profile]] system, and the actual scripts that are used to generate our main "transport" tree that users receive.
+
 
+
[[Repository:Funtoo LDAP Overlay|The Funtoo LDAP]] and [[Repositoy:Funtoo GNOME Overlay|GNOME]] overlays are examples of development trees where Funtoo staff have collected a bunch of ebuilds that were cluttering up funtoo-overlay, and placed them in their own repository to improve organization. These are treated as extensions of funtoo-overlay.
+
 
+
[[Repository:Funtoo Plex Overlay|The Plex overlay]] and [[Repository:Funtoo DeaDBeeF Overlay|DeaDBeeF]] overlays are examples of overlays that are maintained by independent developers, and these overlays are hosted in these developers' GitHub accounts. We have added these overlays to our merge script, so any updates made to these GitHub repositories are automatically pulled into our transport tree.
+

Revision as of 18:47, March 12, 2015

Profiles

Uma vez que você tenha reiniciado no Funtoo Linux, você pode mais tarde personalizar seu sistema para as suas necessidade ao usar o Funtoo Profiles.

Funtoo profiles são utilizados para padões para específico Portage para suas necessidades. Há 4 típicos básicos de perfil (profile types): arch, build, flavor, and mix-ins:

arch
tipicamente x86-32bit ou x86-64bit, isso define o tipo de processador e suporte do seu sistema. Isso é definido quando seu stage foi construído e não deve ser alterado.
build
define se seu sistema é um build current, stable ou experimental. Sistemas current terão pacotes mais recentes do que os sistemas stable.
flavor
define o tipo geral de sistema, tal como server ou desktop, e definirá flags padrões USE apropriadas para as suas necessidade.
mix-ins
define várias configurações opcionais que você pode estar interessado em habilitar.

Um arch, build e flavor deve ser definido para cada sistema Funtoo Linux, enquanto mix-ins são opcionais e você pode habilitar mais de um se desejado.

Lembre-se de que profiles pode com frequência serem herdados. Por exemplo, o flavor desktop herda as configurações do flavor workstation, que em retorno herda os mix-ins X e audio. Você pode visualizar isso ao utilizar eselect:

(chroot) # eselect profile show
Currently set profiles:
    arch: gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
   build: gentoo:funtoo/1.0/linux-gnu/build/current
  flavor: gentoo:funtoo/1.0/linux-gnu/flavor/desktop
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/kde

Automatically enabled profiles:
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/print
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/X
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/audio
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/media
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/console-extras

Para visualizar profiles instalados:

(chroot) # eselect profile list

Para alterar o profile flavor:

(chroot) # eselect profile set-flavor 7

Para adicionar um mix-in:

(chroot) # eselect profile add 10