Interesting blog on simplifying packaging for OS bootstrapping
by Jason L Tibbitts III
So I stumbled upon this blog post:
http://developerblog.redhat.com/2014/12/19/bootstrapping-power8-little-en...
and there are a few things in there which seem like they might be good
to incorporate into our packaging guidelines, or perhaps into our
tooling (rpm up through mock and koji). Random thoughts follow.
Dependency minimization is obviously a big one; we struggle with this.
Build-time dependency minimization is far more difficult. Is there any
value in standardizing methods (probably using conditionals in the spec)
to minimize build-time dependencies? If you have a very core package
that needs the whole X stack to build one of its subpackages, maybe
conditionalize the build so that you can build without that subpackage
and not need X. (autoconf needs emacs? Wow.)
I think currently we have only one or two places where we absolutely
require lua for scriptlets. bash is the only one I can think of,
because it would otherwise need itself to install. Is there value in
using it more often, for more core packages?
I wonder how many packages have additional build-time dependencies
solely for running %check. Would it be reasonable to be able to
separate these somehow (BuildRequires(check): foo) and to pass up
disabling %check through our tooling?
- J<
8 years, 8 months
Soft dependencies guidelines
by Miroslav Suchý
Hi,
rpm 4.12, which include soft dependencies landed in F21.
Are there plan to reflect this in our current Packaging Guidelines? Or we will wait till this feature will be recognized
by dnf, PackageKit and others?
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
8 years, 9 months
Better example for multiple ownership of a directory
by Jason L Tibbitts III
In:
http://fedoraproject.org/wiki/Packaging:Guidelines#The_directory_is_owned...
the current packaging guidelines include mention of
/etc/bash_completion.d as an example of how to get multiple ownership of
a directory correct. The problem is that that directory is now part of
the filesystem packages (and so shouldn't be multiply owned) and that's
not even the correct location for bash completion files these days.
I could just remove it, but I'd like to replace it with a more correct
example. Problem is, I can't think of one. Anyone have a better
directory to use to illustrate this?
- J<
8 years, 9 months
Summary/Minutes from today's FPC Meeting (2014-12-18 17:00 - 18:35 UTC)
by James Antill
======================
#fedora-meeting-1: fpc
======================
Meeting started by geppetto at 17:01:41 UTC. The full logs are available
at
http://meetbot.fedoraproject.org/fedora-meeting-1/2014-12-18/fpc.2014-12-...
.
Meeting summary
---------------
* Roll Call (geppetto, 17:01:42)
* LINK: https://fedorahosted.org/fpc/ticket/480 (dwmw2_gone,
17:07:52)
* #480 Packaging guidelines for consistent PKCS#11 usage (geppetto,
17:08:07)
* LINK: https://fedorahosted.org/fpc/ticket/480 (geppetto, 17:08:11)
* General concensus that this is desirable (geppetto, 17:24:25)
* ACTION: dwmw2 Add examples for common libraries/APIs, on the client
applications. (geppetto, 17:24:25)
* #478 Proposal: Package Guidelines: DevAssistant Assistant packages
(DAP) (geppetto, 17:27:41)
* LINK: https://fedorahosted.org/fpc/ticket/478 (geppetto, 17:27:45)
* Policy is awesome for a first draft, well done! (geppetto,
17:44:41)
* ACTION: Tradej Maybe create a filelist in %install_assistant and use
%files -f? (geppetto, 17:45:12)
* ACTION: Tradej Need the version requirement on devassistant 0.10 to
be in the specfiles. (geppetto, 17:45:34)
* ACTION: Tradej No LICENSE files in the specfiles. (geppetto,
17:45:58)
* ACTION: Tradej Speak with orionp about the dap-* package name
prefix. (geppetto, 17:46:15)
* ACTION: Tradej Create an example package for Fedora (geppetto,
17:47:09)
* #479 Remove F17 cruft from systemd macros (geppetto, 17:47:44)
* LINK: https://fedorahosted.org/fpc/ticket/479 (geppetto, 17:47:48)
* ACTION: #479 Remove F17 cruft from systemd macros (+1:6, 0:0, -1:0)
(geppetto, 17:52:24)
* #483 Temporary bundling exception request for ipsilon: jquery,
bootstrap, patternfly (geppetto, 17:52:32)
* LINK: https://fedorahosted.org/fpc/ticket/483 (geppetto, 17:52:37)
* LINK: https://github.com/patternfly/patternfly (Rathann, 17:54:09)
* LINK: https://fedoraproject.org/wiki/Changes/jQuery (Rathann,
18:02:14)
* LINK: https://fedorahosted.org/fpc/ticket/413 should be closed,
right? (Rathann, 18:07:32)
* ACTION: Allow jQuery bundling until F22, due to 408 blanket
exception. But need reasons that bootstrap/patternfly can't just be
packaged. (+1:6, 0:0, -1:0) (geppetto, 18:14:37)
* #481 static uids systemd-network, systemd-timesync, systemd-resolve
(geppetto, 18:14:49)
* LINK: https://fedorahosted.org/fpc/ticket/481 (geppetto, 18:14:53)
* ACTION: Please explain what "host-independent initramfs images"
means. Who is running with the feature, what is the timescale, what
is it affecting, etc. etc. (geppetto, 18:19:53)
* ACTION: If systemd.network is the correct username, please fix it to
not have a dot in it. (geppetto, 18:20:56)
* Open Floor (geppetto, 18:23:02)
Meeting ended at 18:37:03 UTC.
Action Items
------------
* dwmw2 Add examples for common libraries/APIs, on the client
applications.
* Tradej Maybe create a filelist in %install_assistant and use %files
-f?
* Tradej Need the version requirement on devassistant 0.10 to be in the
specfiles.
* Tradej No LICENSE files in the specfiles.
* Tradej Speak with orionp about the dap-* package name prefix.
* Tradej Create an example package for Fedora
* #479 Remove F17 cruft from systemd macros (+1:6, 0:0, -1:0)
* Allow jQuery bundling until F22, due to 408 blanket exception. But
need reasons that bootstrap/patternfly can't just be packaged. (+1:6,
0:0, -1:0)
* Please explain what "host-independent initramfs images" means. Who is
running with the feature, what is the timescale, what is it affecting,
etc. etc.
* If systemd.network is the correct username, please fix it to not have
a dot in it.
Action Items, by person
-----------------------
* orionp
* Tradej Speak with orionp about the dap-* package name prefix.
* **UNASSIGNED**
* dwmw2 Add examples for common libraries/APIs, on the client
applications.
* Tradej Maybe create a filelist in %install_assistant and use %files
-f?
* Tradej Need the version requirement on devassistant 0.10 to be in
the specfiles.
* Tradej No LICENSE files in the specfiles.
* Tradej Create an example package for Fedora
* #479 Remove F17 cruft from systemd macros (+1:6, 0:0, -1:0)
* Allow jQuery bundling until F22, due to 408 blanket exception. But
need reasons that bootstrap/patternfly can't just be packaged.
(+1:6, 0:0, -1:0)
* Please explain what "host-independent initramfs images" means. Who
is running with the feature, what is the timescale, what is it
affecting, etc. etc.
* If systemd.network is the correct username, please fix it to not
have a dot in it.
People Present (lines said)
---------------------------
* geppetto (136)
* tibbs|w (89)
* Rathann (53)
* dwmw2_gone (38)
* orionp (22)
* mbooth (11)
* zodbot (8)
* racor (6)
* spot (0)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
8 years, 9 months
Schedule for Thursday's FPC Meeting (2014-12-18 17:00 UTC), Followup:12 New:8
by James Antill
Following is the list of topics that will be discussed in the FPC
meeting Thursday at 2014-12-18 17:00 UTC in #fedora-meeting-1 on
irc.freenode.net.
Local time information (via. rktime):
2014-12-18 09:00 Thu US/Pacific PST
2014-12-18 12:00 Thu US/Eastern EST
2014-12-18 17:00 Thu UTC <-
2014-12-18 17:00 Thu Europe/London <-
2014-12-18 18:00 Thu Europe/Paris CET
2014-12-18 18:00 Thu Europe/Berlin CET
2014-12-18 22:30 Thu Asia/Calcutta IST
------------------new day----------------------
2014-12-19 01:00 Fri Asia/Singapore SGT
2014-12-19 01:00 Fri Asia/Hong_Kong HKT
2014-12-19 02:00 Fri Asia/Tokyo JST
2014-12-19 03:00 Fri Australia/Brisbane EST
Links to all tickets below can be found at:
https://fedorahosted.org/fpc/report/12
= Followups =
(needed policy, feature not accepted yet)
#topic #466 recommend Privatedevices and PrivateNetwork in systemd
guidelines
.fpc 466
https://fedorahosted.org/fpc/ticket/466
(needinfo, just package dep?)
#topic #468 Temporary modernizr packing exception for kimchi
.fpc 468
https://fedorahosted.org/fpc/ticket/468
(needs info. don't want all containers to need static ids)
#topic #474 Allocating a soft static uid and gid 389 for dirsrv
.fpc 474
https://fedorahosted.org/fpc/ticket/474
(needs policy)
#topic #475 Suggested Changes for Python Guidelines for F22
.fpc 475
https://fedorahosted.org/fpc/ticket/475
= Ye Ancient tickets (zombie followups) =
#topic #126 bundling exception for scintilla
.fpc 126
https://fedorahosted.org/fpc/ticket/126
#topic #202 Application for exemption from "No bundling" rule: Gargoyle
.fpc 202
https://fedorahosted.org/fpc/ticket/202
#topic #221 Bundling exception request: numptyphysics and Box2D
.fpc 221
https://fedorahosted.org/fpc/ticket/221
#topic #235 exception for bundling a library into uif2iso package
.fpc 235
https://fedorahosted.org/fpc/ticket/235
#topic #304 asking for bundling exception for the package "rubygem-rdiscount"
.fpc 304
https://fedorahosted.org/fpc/ticket/304
#topic #338 %doc and %_pkgdocdir duplicate files and cause conflicts
.fpc 338
https://fedorahosted.org/fpc/ticket/338
#topic #381 Bundling exception for python-matplotlib fonts
.fpc 381
https://fedorahosted.org/fpc/ticket/381
#topic #412 Please change the packaging guidelines to include packaging
policy regarding systemd timer units
.fpc 412
https://fedorahosted.org/fpc/ticket/412
= Ye Ancient tickets (new) =
#topic #208 Please add policy regarding socket activated services
.fpc 208
https://fedorahosted.org/fpc/ticket/208
#topic #209 Please define policy regarding instantiated application
services
.fpc 209
https://fedorahosted.org/fpc/ticket/209
#topic #443 Requesting Bundling exception for Love (liblove sub package)
.fpc 443
https://fedorahosted.org/fpc/ticket/443
= New business =
#topic #478 Proposal: Package Guidelines: DevAssistant Assistant packages (DAP)
.fpc 478
https://fedorahosted.org/fpc/ticket/478
#topic #479 Remove F17 cruft from systemd macros
.fpc 479
https://fedorahosted.org/fpc/ticket/479
#topic #480 Packaging guidelines for consistent PKCS#11 usage
.fpc 480
https://fedorahosted.org/fpc/ticket/480
#topic #481 static uids systemd-network, systemd-timesync, systemd-resolve
.fpc 481
https://fedorahosted.org/fpc/ticket/481
#topic #483 Temporary bundling exception request for ipsilon: jquery, bootstrap, patternfly
.fpc 483
https://fedorahosted.org/fpc/ticket/483
= Open Floor =
For more complete details, please visit each individual ticket. The
report of the agenda items can be found at:
https://fedorahosted.org/fpc/report/12
If you would like to add something to this agenda, you can reply to
this e-mail, file a new ticket at https://fedorahosted.org/fpc,
e-mail me directly, or bring it up at the end of the meeting, during
the open floor topic. Note that added topics may be deferred until
the following meeting.
8 years, 9 months
Summary/Minutes from today's FPC Meeting (2014-12-11 17:00 - 18:25 UTC)
by James Antill
======================
#fedora-meeting-1: fpc
======================
Meeting started by geppetto at 17:01:37 UTC. The full logs are available
at
http://meetbot.fedoraproject.org/fedora-meeting-1/2014-12-11/fpc.2014-12-...
.
Meeting summary
---------------
* Roll Call (geppetto, 17:01:37)
* #476 Requesting copylib exemption for libgnome-volume-control
(geppetto, 17:06:19)
* ACTION: General agreement that it should be made at least a static
lib. … hopefully a shared lib. eventually. (geppetto, 17:20:11)
* Write up tickets (geppetto, 17:22:26)
* LINK: https://fedorahosted.org/fpc/report/14 (geppetto, 17:22:34)
* LINK: https://fedorahosted.org/fpc/report/15 has all of the announce
tickets. (tibbs|w, 17:26:37)
* LINK:
https://fedoraproject.org/wiki/PackagingDrafts/libreOfficeExtentions
I mean (orionp, 17:27:23)
* LINK: https://fedorahosted.org/fpc/ticket/316 is also in the
guidelines already, so I change it to announce right? (tomspur,
17:31:04)
* LINK:
https://fedoraproject.org/w/index.php?title=Packaging%
3ADistTag&diff=397407&oldid=174910
and
https://fedoraproject.org/w/index.php?title=Packaging%
3ANamingGuidelines&diff=397408&oldid=379705
are the changes I made. (tibbs|w, 17:34:29)
* #475 Suggested Changes for Python Guidelines for F22 (geppetto,
17:39:58)
* ACTION: Mostly approving but follow comments from IRC discussion and
write a real policy change we can vote on. (geppetto, 18:01:44)
* #474 Allocating a soft static uid and gid 389 for dirsrv (geppetto,
18:01:58)
* LINK: https://bugzilla.redhat.com/show_bug.cgi?id=1143066
(tibbs|w, 18:03:06)
* ACTION: james Need more data, we esp. don't want to set a precedent
that anything that can be in a container needs a soft static
uid/gid. (geppetto, 18:09:00)
* Open Floor (geppetto, 18:09:22)
Meeting ended at 18:26:38 UTC.
Action Items
------------
* General agreement that it should be made at least a static lib. …
hopefully a shared lib. eventually.
* Mostly approving but follow comments from IRC discussion and write a
real policy change we can vote on.
* james Need more data, we esp. don't want to set a precedent that
anything that can be in a container needs a soft static uid/gid.
Action Items, by person
-----------------------
* **UNASSIGNED**
* General agreement that it should be made at least a static lib. …
hopefully a shared lib. eventually.
* Mostly approving but follow comments from IRC discussion and write a
real policy change we can vote on.
* james Need more data, we esp. don't want to set a precedent that
anything that can be in a container needs a soft static uid/gid.
People Present (lines said)
---------------------------
* geppetto (86)
* tibbs|w (66)
* tomspur (17)
* orionp (13)
* zbyszek (10)
* racor (9)
* zodbot (9)
* spot (7)
* mbooth (3)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
8 years, 9 months