https://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552013-08-30T13:38:16ZParabola Issue Trackerlibretools - Bug #378: [libremakepkg] reintroduce -uhttps://labs.parabola.nu/issues/378?journal_id=49802013-08-30T13:38:16Zlukeshulukeshu@parabola.nu
<ul></ul><blockquote>
<p>HOOKPREBUILD doesn't solve it: it's run only by ... not fullpkg</p>
</blockquote>
<p>Then that should be a feature request in fullpkg. (Here you go: <a class="external" href="https://labs.parabola.nu/issues/403">https://labs.parabola.nu/issues/403</a>)</p>
<blockquote>
<p>updating also packages that will be removed before build.</p>
</blockquote>
<p>Then run `librechroot clean-pkgs` before running `librechroot update`.</p>
<blockquote>
<p>(Not commenting on the issue of it being default/required or a recommended option disabling which can make broken packages.)</p>
</blockquote>
<p>I think it's not unreasonable to require packagers to update their chroot when it needs to be.</p>
<hr />
<p>Why I don't want to add this back in: fullpkg/treepkg are actually a good example of why this <strong>shouldn't</strong> be added. You don't want to run -Syu before <strong>every</strong> package is built. You run it once at the beginning. Perhaps fullpkg/treepkg should do that for you.</p>
<p>A feature that I would be welcome to implementing is warning if there are uninstalled updates, what do you think?</p> libretools - Bug #378: [libremakepkg] reintroduce -uhttps://labs.parabola.nu/issues/378?journal_id=49932013-09-04T05:24:44Zmtjmmtjm@mtjm.eu
<ul></ul><p>"[W]arning if there are uninstalled updates" requires pacman -Sy, so it wouldn't be much different than -Syu with no packages to update? I don't see any other reason to not do it than that it might be slower. Or are there any additional correctness issues when updates are done?</p>
<p>Running two more commands is ok for me, documenting this for mips64el development might be ok too.</p> libretools - Bug #378: [libremakepkg] reintroduce -uhttps://labs.parabola.nu/issues/378?journal_id=49952013-09-05T10:41:32Zlukeshulukeshu@parabola.nu
<ul></ul><blockquote>
<p>"[W]arning if there are uninstalled updates" requires pacman -Sy, so it wouldn't be much different than -Syu with no packages to update?</p>
</blockquote>
<p>Hmm, that's true.</p>
<p>I... don't know. I feel like updates should have to be an explicit thing (especially with rolling release).</p>
<p>I know most people don't use the "sync" feature, but if you do, the correct thing to do is</p>
<pre>
librechroot -l root update
librechroot sync
</pre>
<p>Which is a lot more overhead, so I'd rule out doing that every time.</p>
<p>That brings up the topic: do we really want the "sync" feature? It's inherited from Arch's devtools. I think it could be very useful, and the real benefits would be apparent in automated builds; I think even fullpkg/treepkg could benefit from it by allowing parallel builds.</p> libretools - Bug #378: [libremakepkg] reintroduce -uhttps://labs.parabola.nu/issues/378?journal_id=51142013-12-12T08:31:23Zlukeshulukeshu@parabola.nu
<ul></ul><p>FWIW, since fixing <a class="issue tracker-1 status-2 priority-3 priority-default closed" title="Bug: [chcleanup] Syncs all repos when it should only sync repo.db (fixed)" href="https://labs.parabola.nu/issues/437">#437</a>, it doesn't run `pacman -Sy` during chcleanup.</p> libretools - Bug #378: [libremakepkg] reintroduce -uhttps://labs.parabola.nu/issues/378?journal_id=54132014-06-29T15:42:00Zlukeshulukeshu@parabola.nu
<ul><li><strong>Status</strong> changed from <i>open</i> to <i>not-a-bug</i></li></ul>