| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Update policy on live ebuilds, as discussed in gentoo-dev:
https://archives.gentoo.org/gentoo-dev/message/a4cc194fc387d4abffed054b523d83f8
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
This is documented in the eclasses themselves, to which we refer.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
cvs-sources and svn-sources contain duplicate information, and it also
applies to other VCSs. Combine them in a single chapter.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
This follows the recent PMS update:
https://gitweb.gentoo.org/proj/pms.git/commit/?id=0d4ffd51d3dc86782dae2db9fe632f45af7eec87
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Not sure from where the concept "an empty slot means disable slotting"
originated. In any case, it is wrong, and it was not legal in any EAPI.
Update the SLOT section in ebuild-writing/variables, too.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Most instances are already being escaped, so convert the few remaining
ones for consistency throughout the document.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Utilities die, nonfatal: New section in ebuild-writing/error-handling,
new chapter function-reference/error-functions
- dodoc -r: Already in function-reference/install-functions,
add additional example to ebuild-writing/functions/src_install
- doins symlink support:
Incorporated into function-reference/install-functions
- dosed, dohard banned: Not mentioned anywhere else
- econf --disable-dependency-tracking: New section about econf options
in ebuild-writing/functions/src_configure/configuring
- Controllable compression and docompress:
New chapter ebuild-writing/functions/src_install/docompress
- USE dependency defaults: Incorporated into general-concepts/dependencies
- pkg_pretend: Already in ebuild-writing/functions/pkg_pretend
- default src_install: Already in ebuild-writing/functions/src_install
- pkg_info: Incorporated into ebuild-writing/functions/pkg_info
- REQUIRED_USE: Already in ebuild-writing/variables
- MERGE_TYPE, REPLACING_VERSIONS, REPLACED_BY_VERSION:
Moved to ebuild-writing/variables
- DOCS: Incorporated into ebuild-writing/variables
- AA, KV removed: Not mentioned anywhere else
- RDEPEND=DEPEND: Already handled in commit 5a946b4
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The text in most of our diagrams was left to use the generic
"sans-serif" font face, which depends on both the local machine and
the program used to edit/convert the SVG image. This isn't the best
situation, because we want the output PNGs to be predictable.
The Tyrian layout used for devmanual.gentoo.org makes heavy use of the
"Open Sans" font, so this commit updates each SVG in the devmanual to
use that face for all text elements that were previously "sans-serif".
Bug: https://bugs.gentoo.org/700904
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
[Fonts in ebuild-writing/functions/diagram.svg fixed]
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The acct-user/group ebuilds for suricata are rather typical examples,
so replace the fictitious user 123 by them.
This also has ${PN} as single element in ACCT_USER_GROUPS, and it
drops the uncommon ACCT_USER_{SHELL,HOME{,_OWNER,_PERMS}} variables
from the example.
Original patch from Michael Orlitzky <mjo@gentoo.org> (who asked me to
put my own name on it).
Closes: https://bugs.gentoo.org/702508
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't really a maintenance task. Also, we already mention this
twice elsewhere, namely in ebuild-writing/variables and in
ebuild-writing/common-mistakes. Update and fix link in the latter.
Move the introductory paragraph to the parent document, and remove
the chapter which has become empty.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Split off from ebuild-maintenance/maintenance-tasks.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Modernise the introduction, and add a short section saying that EAPIs
0 to 3 are obsolete.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- Prefix support: Reference to Prefix documentation moved to
ebuild-writing/variables
- unpack .xz support: Add list of recognized unpack formats in
ebuild-writing/functions/src_unpack
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Since EAPIs 0 to 2 are no longer mentioned, we need to explain what
an "EAPI=0 package dependency specification" is.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- doman language support: incorporated into
function-reference/install-functions
- Blockers incorporated into general-concepts/dependencies
(also say "weak" and "strong" blockers instead of "soft" and "hard",
in order to agree with the terms used in PMS)
- USE dependencies: already in general-concepts/dependencies
- SRC_URI arrows: incorporated into ebuild-writing/variables
- src_prepare: already in ebuild-writing/functions/src_prepare
- src_configure: already in ebuild-writing/functions/src_configure
- Execution order: already in ebuild-writing/functions
- Default phase functions moved to ebuild-writing/functions
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
- Default src_compile: already in ebuild-writing/functions/src_compile
- SLOT dependencies: already in general-concepts/dependencies
- IUSE defaults moved to general-concepts/use-flags
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Whitespace before the closing tag is significant and would show up in
html output.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Also normalise whitespace around <d/> in some places in the document.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This is now fixed in devbook.xsl, so the changes in the text
(which were meant as a stop-gap measure) can be reverted again.
This reverts commit 481c88ea7ca8d93b17ac6668186216baf50daab9.
Bug: https://bugs.gentoo.org/475332
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/703626
Closes: https://github.com/gentoo/devmanual/pull/140
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Section, subsection, etc. titles are used to construct ID attributes,
which must be unique within each chapter.
One approach to disambiguate these identifiers would be to use the
complete section hierarchy for constructing them (see bug 626032).
However, that would break external references (and for example, links
from bugzilla or from mailing list archives cannot be updated).
Use a less intrusive approach instead and make the titles of the few
ambiguous subsections unique, or convert them to a list.
Closes: https://bugs.gentoo.org/626032
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/devmanual/pull/125
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
|
|
| |
Where necessary, use multiple dd elements instead.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Fixes: 9613e9e69ae16e6981f90135f92811ded641b52c
Acked-by: Göktürk Yüksek <gokturk@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GLEP 81 significantly changes the way that user management is handled,
and reveals some subtle issues in existing packages that have remained
hidden until now. Many of these issues can be avoided (in GLEP 81, but
also in general) by exercising some discipline when choosing the data
for new users and groups:
* User and group names
* Default shell
* Home directory
* Home directory ownership and permissions
This commit adds a few new sections to the "Users and Groups" chapter
that explain the current best practices, and give suggestions for
choosing the user and group data listed above. The rationale for these
choices is explained, and some notable exceptions are mentioned.
Closes: https://bugs.gentoo.org/693964
Closes: https://github.com/gentoo/devmanual/pull/116
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
This isn't processed by devbook.xsl and doesn't show up in the output.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Replace by paragraph break, or drop.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Use <c> instead, which seems to be the most appropriate replacement
in their respective contexts.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
- Lists inside <p> are not allowed.
- <ul> is not a direct child of <ul>; it must be inside <li>.
- <p>, <note>, etc. are no children of <p>.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
No sectioning elements are allowed inside <body>, according to the
devbook guide.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/devmanual/pull/90
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
|
| |
Fixes: dabb1f76df1fe26cdf1b79d235b4ee3f0a9464cb
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
The information dates back to pre-EAPI7 era and incorrectly states
that ROOT etc. always end with a trailing slash, which is incorrect
with EAPI7. Update the text to reflect both EAPI7 and pre-EAPI7
practices and suggest the bash suffix removal for pre-EAPI7 ebuilds to
ease transition.
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
|
|
|
|
| |
Before EAPI7, ROOT was guaranteed to end with a trailing slash. EAPI7
reversed this. Add back trailing slashes to ROOT in the example.
Reported-by: Conrad Kostecki <conrad@kostecki.com>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/devmanual/pull/115
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Indicate that HOMEPAGE can accept multiple values. Expand freshmeat
fallback suggestion into the broader idea that package trackers can
be linked in addition to main HOMEPAGE (which is a common practice
e.g. for Python packages). Simplify No_homepage suggestion to always
use it when there's no homepage, rather than when transitioning from old
homepage.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
|