<farkuhar>
In https://git.crux.nu/ports/core/issues/4 stenur makes an oblique reference to deep42thought's post-sync hooks (which ukky has kept alive), but stenur's method would defer the application of local patches until the pkgmk step, so that the original repos are not corrupted if a patch no longer applies cleanly.
<farkuhar>
stenur's idea for the long term is to have prt-get delegate to pkgmk all processing of Pkgfiles (and pkgmk.conf?), so that no discrepancy like the one Vitaly reported could ever arise. But spawning a new shell to obtain the necessary variables for each port in the active repos? That would be an expensive proposition; the slowdown would be noticeable even on modern hardware.
_moth_ has joined #crux
_moth_1 has joined #crux
_moth_ has quit [Ping timeout: 248 seconds]
_moth_1 is now known as _moth_
<brian|lfs>
waves
ppetrov^ has joined #crux
_moth_1 has joined #crux
_moth_ has quit [Ping timeout: 252 seconds]
_moth_1 is now known as _moth_
_moth_1 has joined #crux
_moth_ has quit [Ping timeout: 246 seconds]
_moth_1 is now known as _moth_
DesRoin has quit [Ping timeout: 260 seconds]
DesRoin has joined #crux
DesRoin has quit [Ping timeout: 246 seconds]
DesRoin has joined #crux
lavaball has joined #crux
uwumeowmeownyaa has joined #crux
z3bra has quit [Remote host closed the connection]
braewoods has quit [Remote host closed the connection]
braewoods has joined #crux
z3bra has joined #crux
lavaball has quit [Remote host closed the connection]
z3bra has quit [Remote host closed the connection]
<farkuhar>
When we bump the version in CRUX, we ought to patch the man-page, unless upstream fixes it sooner.
<farkuhar>
personal pet peeve about CLI flags in man-pages: when the hyphen is not marked up as \- but instead as a bare - then some terminals refuse to render it, forcing the user to infer the presence of an invisible hyphen.
<farkuhar>
quick and dirty attempt at cleaning up the crond.8 provided in the v4.6 tarball: https://dpaste.com/9VM2Y6Z83
<farkuhar>
ppetrov^ and lavaball over in #crux-social would accuse me of shouting into the void, by raising these issues in a venue where they are less likely to be acted upon. In the case of dcron, my flippant response is that I don't have a github account (and am not inclined to open one just to file a bug report).
<farkuhar>
But a similar accusation could be leveled at CRUX users who maintain a private overlay in the manner suggested by stenur (or deep42thought before him). By keeping patchsets away from wider scrutiny, these private overlays deprive the official CRUX maintainers of valuable feedback that might make the official ports better.
<farkuhar>
Hence Tim's reaction to FS#1576 (flexible footprint check), where he pushed back against the proliferation of dups in the portdb, preferring instead a collection of "fluid Pkgfiles" that can suit all use-cases.
<farkuhar>
I don't mind the proliferation of dups myself. The sheer variety of configurations demonstrates the ingenuity of CRUX users to adapt the distribution as they see fit. A first-time CRUX user can compare the different styles of building software, learning more from the current portdb diversity than from studying only a slimmed-down set of official repos.
uwumeowmeownyaa has quit [Remote host closed the connection]
<farkuhar>
One of the earlier attempts at making Pkgfiles more flexible was heidi's suggestion of Gentoo-style USE flags, https://lists.crux.nu/archives/list/crux@lists.crux.nu/thread/32JWFJRJBMKMYX5MONUGGIT3G2MD7TZS/ The transition from pipermail to hyperkitty seems to have resulted in some data loss, because I can no longer find Anton's strongly-worded reply, featuring the phrase "ghastly as hell".
lavaball has joined #crux
<farkuhar>
In Gitea #4 stenur wishes for the hard and soft dependencies to be promoted to actual shell variables, not comments, so that they can be overwritten by the files in his new $PKGMK_OVERLAY_DIR. I worry that this promotion would encourage future versions of pkgmk to become encumbered with dependency-resolution logic (Per demonstrated back in 2004 how it could be done in bash). The current separation of concerns (pkgmk vs. prt-get) is a feature, not a bug.
<farkuhar>
The introduction of the "Optional" field itself faced some opposition from jue, who in May 2008 called it "not really maintainable, cause the maintainer isn't able to test all the possible options a program is providing". In a way, stenur's overlay idea would help distribute the maintenance burden among the wider CRUX community, allowing for the official Pkgfiles to be inflexible and all the variants to be sequestered in private overlays.
<farkuhar>
Anton's strongly-worded reply to heidi in August 2006 singles out Pkgfiles as the "really valuable thing in CRUX." If they are not kept "as KISS as possible, ... then it's not CRUX anymore." Stupid-simple Pkgfiles are entirely compatible with stenur's overlay proposal, but then pkgmk can no longer remain "as KISS as possible." The complexity has to go somewhere!
serpente has joined #crux
<farkuhar>
Vitaly's August 2016 thread https://lists.crux.nu/archives/list/crux-devel@lists.crux.nu/thread/BNW2BYKMQ5FJSJ3UKZ4KZVXSRVE7U4YW/ hints at one option for reducing the confusion that stems from a naive application of "anything not prohibited is allowed". We could simply revise the man-pages Pkgfile(5), pkgmk.conf(5) and prt-get(8) so that users are better informed about which operations involve prt-get inspecting a file without spawning a shell.
<farkuhar>
Heh, if you want a stupid-simple pkgmk you can take inspiration from upkgmk by therealfun. In about 100 lines of bash therealfun offers a tool that "does one thing and does it well." But even this minimal shell script, if spawned hundreds of times to populate the database that prt-get uses in its repo search operations, would soon incur a greater cost than the popen(3) approach that Vitaly finds problematic.
<farkuhar>
At the time of Vitaly's August 2016 thread we didn't yet have a Pkgfile man-page, which only got written for CRUX 3.7 when the renaming feature was introduced. The man-page does provide some indication that prt-get will scan the header fields, but it could be spelled out more clearly that some of the uncommented lines are parsed too, which could cause problems if too many bashisms are employed.
sajcho has joined #crux
brian|lfs has quit [Quit: Leaving]
sajcho has quit [Quit: Client closed]
_moth_ has quit [Ping timeout: 252 seconds]
leah2 has quit [Ping timeout: 244 seconds]
dim44 has joined #crux
leah2 has joined #crux
SiFuh_ has quit [Remote host closed the connection]
SiFuh_ has joined #crux
ppetrov^ has joined #crux
<ppetrov^>
hey farkuhar , i read the log, interesting things you brought up. I was too busy today to follow, but i am interested in how things develop
<ppetrov^>
ah, and I don't accuse you of anything
<ppetrov^>
:P
lavaball has quit [Remote host closed the connection]
ppetrov^ has quit [Remote host closed the connection]
tilman has quit [Ping timeout: 246 seconds]
tilman has joined #crux
DesRoin has quit [Ping timeout: 252 seconds]
stratofall has quit [Quit: leaving]
SiFuh has quit [Remote host closed the connection]