Age | Commit message (Collapse) | Author |
|
Its value is configurable in libretools.conf.
I discussed this eventual change in my dbscripts plans on the mailing list.
|
|
DISRUPTION: This will make the default configuration unsuitable
for packagers whose local username doesn't match their username in
hackers.git. They will need to manually adjust their
`libretools.conf:REPODEST` to have the correct username.
For years, when releasing a package, librerelease has been SSH'ing to a
shared repo@ account.
In the last few months, we've made changes to the server to make it so that
you can use your normal $USER@ account. It has been opt-in by adjusting
your REPODEST appropriately.
For the last month, several developers have opted-in. After a couple of
hiccups resolved in the first few hours, the HOOKPRERELEASE issue (for
users for which the DISRUPTION applies, which the last few commits fixed),
there were no issues.
This has the negative affect
So, change this from opt-in to opt-out. If all goes smoothly, then SSH to
the repo@ account will eventually be disabled.
https://lists.parabola.nu/pipermail/dev/2018-August/006907.html
|
|
~/.config/libretools/libretools.conf is loaded after /etc/libretools.conf
If the file in ~/.config/ changes REPODEST, then the default value of
HOOKPRERELEASE will do the wrong thing.
So, change the double-quotes to single quotes; deferring evaluation of the
REPODEST expression to call-time. This is made possible by the previous
commit, which exposes the REPODEST variable to the hook.
While we're at it, since we now have access to the parsed parts of
REPODEST (like REPODEST_port and REPODEST_userhost), go ahead and use
those, instead of using a gross `sed` expression to parse it in a sloppy
way.
|
|
|
|
|
|
Also, pacman-git produces ${pkgbase}-debug packages instead of the
${pkgname}-debug packages that pacman <=5.0.1 produces. This commit
adds support for staging both, so we are ready when the new pacman
comes out.
|
|
|
|
|
|
|
|
|
|
|
|
- REPOS is now only used by toru-path
- ARCHES is also used by xbs-abslibre
- remove the claim that ARCHES affects createworkdir from the docs.
|
|
|
|
|
|
There was a request on the bug tracker a while ago to not include
graphical programs in the list searched, as sometimes they used
libretools without X. We closed it as WONTFIX because it's a
configuration option; if you don't like the default value, then set it
to something different.
But, checking for DISPLAY is trivial, and probably makes more people
happy out-of-the-box, which is good. I don't know why I didn't think
of it then.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://labs.parabola.nu/issues/438
|
|
|
|
|
|
|
|
The relies on db-update on the server respecting STAGING if it is set in
the environment.
https://labs.parabola.nu/issues/314
|
|
|
|
This for users who cross-compile for multiple architectures.
|
|
|
|
HOOKLOCALRELEASE:
- set to librestage by default, because the mips value is mipsrelease,
which calls librestage
- document what arguments it is given.
fullpkg-build:
- Run HOOKLOCALRELEASE in a way that is consistent with treepkg does and
what mipsrelease takes. Note that what fullpkg-build did is what
mipsrelease documentation said, but not what it actually did.
- Don't run librestage; if we want it to run, run it with HOOKLOCALRELEASE
mipsrelease: Telling diff to ignore whitespace helps with this one.
- use get_full_version from common.sh/libremessages
- give a code path to display usage()
- correct usage()
- fix a little quoting
- make sure makepkg.conf variables are set
|
|
|
|
|
|
|
|
|
|
Contained the text "# TODO refactor this", and I can't just stick to that
fragment of code, can I?
I actually didn't change too much, despite what the diff looks like.
- move everything into a main() routine
- redo the usage() text
- rename a few variables
- fix where "${#repos}" should have been "${#repos[@]}"
- use [[...]] instead of [...]
- use "if A; then B; else C; fi" instead of "A || C && B"
- use CARCH instead of looping over every possible architecture.
- only look for files that match PKGEXT, as set in makepkg.conf
- pull out duplicate code for error handling
- don't warn when creating "staging/REPONAME"
|
|
|
|
|
|
|
|
* install all library files to $(libexecdir)/libretools, instead of
- $(bindir)
- $(datadir)/libretools
- $(datadir)/devtools
* symlink the executable library files into $(bindir)
* add the tool `librelib`
* instead of ". /path/to/lib.sh", use ". $(librelib lib.sh)"
* mark all libraries with shebangs of what options they support
* move blacklist.sh to libreblacklist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use it for librechroot, libremakepkg, libremkchroot
|
|
|