summaryrefslogtreecommitdiffhomepage
path: root/etc/pkgtool.usage
AgeCommit message (Collapse)AuthorFilesLines
2023-03-29Implements ./pkgtool.sh -e: edit package group file w/ ${EDITOR}.Lucía Andrea Illanes Albornoz1-0/+1
2023-03-26Accept comma-separated list of packages in ./pkgtool.sh -i.Lucía Andrea Illanes Albornoz1-2/+2
2023-03-23Implements ./pkgtool.sh -p.Lucía Andrea Illanes Albornoz1-1/+2
2023-03-20Implements --theme in {build,pkgtool}.sh.Lucía Andrea Illanes Albornoz1-1/+2
2023-03-13pkgtool.sh: optionally source ${HOME}/pkgtool.vars to provide defaults for ↵Lucía Andrea Illanes Albornoz1-0/+2
-a, -b, -m, -M. etc/pkgtool.usage: updated. etc/README.md: updated.
2023-02-17Make everything a bit faster.Lucía Andrea Illanes Albornoz1-6/+2
0) Issues several prayers and sacrifices to Enki under threat of a terrible deluge sent down by Ellil 1) Convert fork-write/read exprs to be non-forking 2) Pass mostly everything by reference 3) Don't bother cleaning the variable namespace because Bourne shell is an abomination 4) Removes broken ./pkgtool.sh -s, --restart-at, --update-diff & ./build.sh --dump-{in,on-abort} 5) Cleanup
2021-08-25etc/{build.usage{,.short},pkgtool.usage}: colourised.Lucio Andrés Illanes Albornoz1-18/+18
2021-04-05pkgtool.sh:pkgtoolp_mirror_fetch(), subr/pkgtool_init.subr: implement and ↵Lucio Andrés Illanes Albornoz1-1/+2
honour -v. etc/{pkgtool.usage,README.md}: updated.
2021-04-05pkgtool.sh:pkgtool{,p_mirror}(): split -m <dname1>,<dname2> into -m <dname> ↵Lucio Andrés Illanes Albornoz1-2/+3
-M <dname> for convenience. subr/pkgtool_init.subr: split -m <dname1>,<dname2> into -m <dname> -M <dname> for convenience. etc/{pkgtool.usage,README.md}: updated.
2021-01-24Reimplements Git repository mirroring because Git is a special snowflake.Lucio Andrés Illanes Albornoz1-15/+15
etc/{README.md,pkgtool.usage}: updated. groups/221.native_packages_dev.group:cparser:${PKG_DISABLED}: disabled due to repository unavailability. groups/251.native_packages_lib.group:libfirm:${PKG_DISABLED}: disabled due to repository unavailability. midipix.env:${DEFAULT_BUILD_VARS}: adds MIRRORS_GIT. midipix.env:${DEFAULT_MIRRORS{,_GIT}}: split; mirror Git repositories via https://midipix.lucioillanes.de/repos_git/. pkgtool.sh:pkgtoolp_mirror_fetch(): call rtl_fetch_mirror_urls_git() vs. rtl_fetch_urls_git(). pkgtool.sh:pkgtoolp_mirror_fetch(): symlink instead of downloading given package w/ parent package. pkgtool.sh:pkgtoolp_mirror{,_fetch}(): split archives vs. Git repositories directory name. subr.rtl/rtl_fetch.subr: factor out ${DEFAULT_GIT_ARGS}. subr.rtl/rtl_fetch.subr:rtl_fetch_mirror_urls_git(): initial implementation. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): always return on failure. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): correctly attempt to git-clone(1) from ${PKG_URL} and then via ${PKG_MIRRORS}. subr.rtl/rtl_fetch.subr:{rtlp_fetch_url_git,rtl_fetch_urls_git}(): cleanup. {subr/pkg_fetch_download.subr,vars/{gcc,python[23]{,_host}}.vars}: call rtl_fetch_urls_git() w/ ${PKG_NAME} and ${PKG_MIRRORS_GIT:-}.
2021-01-23Implements setting up & fetching from mirrors.Lucio Andrés Illanes Albornoz1-2/+3
etc/pkgtool.usage: updated. etc/README.md: updated. pkgtool.sh:pkgtoolp_mirror{,_fetch}(): initial implementation. subr/pkg_fetch_download.subr: default to empty ${PKG_MIRRORS}. subr/pkg_fetch_download.subr: factor out ${ARG_FETCH_FORCE} check and ${BUILD_DLCACHEDIR}. subr/pkgtool_init.subr: updated. subr.rtl/rtl_fetch.subr:rtl_fetch_urls_{git,wget}(): factor out ${ARG_FETCH_FORCE} check and ${BUILD_DLCACHEDIR}; minor cleanup. subr.rtl/rtl_fetch.subr:rtl_fetch_url_wget(): return vs. exit on fatal failure. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): copy only if ${_cache_dname} != ${_tgtdir}. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): return if unable to git-clone(1). subr.rtl/rtl_fetch.subr:{rtlp_fetch_url_git,rtl_fetch_urls_git}(): implement Git repository mirroring. vars/{gcc,python[23]{,_host}}.vars: updated.
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-1/+1
etc/{{build,pkgtool}.usage,README.md}: updated.
2020-03-13Implements ./pkgtool.sh -[irt] options.Lucio Andrés Illanes Albornoz1-0/+17
etc/{README.md,pkgtool.usage}: updated. subr/ex_pkg.subr:ex_pkg_{find_package,get_packages}(): initial implementation. subr/ex_pkg.subr:ex_pkg_unfold_{,r}depends(): split from ex_pkg_expand_packages(). subr/ex_pkg{,_dispatch}.subr: removes ${EX_PKG_COMPLETE} scoped global. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_expand_packages(): split from subr/ex_pkg.subr. subr/rtl_list.subr:rtl_lsort(): initial implementation.