United Kingdon
I write code that solves problems, I mostly work on embedded Linux. I spend a lot of my time working on postmarketOS for the OnePlus 6 and a few other devices. I want to make phones usable beyond the manufacturers lifespan. I also work on whatever else takes my interest...
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
On 14/08/2023 08:36, Oliver Smith wrote: > On Sun Aug 13, 2023 at 1:41 AM CEST, Caleb Connolly wrote: >> Add a new "auto_checksum" config option which, when set, will make >> pmbootstrap fix checksums for local sources in-place before building a >> package. >> >> This _drastically_ speeds up development when working with files that >> are local to pmaports. >> >> It isn't done automatically for remote sources as there is still some >> value in having these error out (e.g. catching corrupt downloads). >> Additionally, those sources shouldn't change regularly (if you're doing
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
On 14/08/2023 15:55, Oliver Smith wrote: > On Mon Aug 14, 2023 at 9:36 AM CEST, Oliver Smith wrote: >> On Sun Aug 13, 2023 at 1:41 AM CEST, Caleb Connolly wrote: >>> Add a new "auto_checksum" config option which, when set, will make >>> pmbootstrap fix checksums for local sources in-place before building a >>> package. >>> >>> This _drastically_ speeds up development when working with files that >>> are local to pmaports. >>> >>> It isn't done automatically for remote sources as there is still some >>> value in having these error out (e.g. catching corrupt downloads).
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
With automated checksums, the last piece of the puzzle for quick
development of local packages is to fix the pkgver automatically too.
Add a new --dirty flag to pmbootstrap build which will append the current
datetime to the pkgver. This has two main purposes:
1. Ensures that the newly built package will get picked up by apk
2. Makes it clear that the package is from a local "dirty" build and not
from any binary repo.
The dirty flag only applies when either the local checksums are out of
date, or if the local package source dir has been modified since the
last build. This ensures that only packages the user is working on will
get built when this flag is set.
With this logic in place, it is now sensible to add a '--build' flag to
[message trimmed]
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
Add a new "auto_checksum" config option which, when set, will make
pmbootstrap fix checksums for local sources in-place before building a
package.
This _drastically_ speeds up development when working with files that
are local to pmaports.
It isn't done automatically for remote sources as there is still some
value in having these error out (e.g. catching corrupt downloads).
Additionally, those sources shouldn't change regularly (if you're doing
local development like this, please use "pmbootstrap build --src"!)
Enable this option by default, it doesn't introduce any additional risk.
[message trimmed]
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
Introdce support for automatically bumping the checksum of local sources, and for doing "dirty" builds of packages with a custom version number when there are local changes. See the individual commit messages for more info. --- Changes in v4: - Fix get_pkgver() logic in run_build() - Fix get_pkgver() arg in envkernel - Link to v3: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230813-b4-auto-checksum-v3-0-e5584a5cb7cb@postmarketos.org%3E Changes in v3: - Fix build
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
With automated checksums, the last piece of the puzzle for quick
development of local packages is to fix the pkgver automatically too.
Add a new --dirty flag to pmbootstrap build which will append the current
datetime to the pkgver. This has two main purposes:
1. Ensures that the newly built package will get picked up by apk
2. Makes it clear that the package is from a local "dirty" build and not
from any binary repo.
The dirty flag only applies when either the local checksums are out of
date, or if the local package source dir has been modified since the
last build. This ensures that only packages the user is working on will
get built when this flag is set.
With this logic in place, it is now sensible to add a '--build' flag to
[message trimmed]
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
Add a new "auto_checksum" config option which, when set, will make
pmbootstrap fix checksums for local sources in-place before building a
package.
This _drastically_ speeds up development when working with files that
are local to pmaports.
It isn't done automatically for remote sources as there is still some
value in having these error out (e.g. catching corrupt downloads).
Additionally, those sources shouldn't change regularly (if you're doing
local development like this, please use "pmbootstrap build --src"!)
Enable this option by default, it doesn't introduce any additional risk.
[message trimmed]
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
Introdce support for automatically bumping the checksum of local sources, and for doing "dirty" builds of packages with a custom version number when there are local changes. See the individual commit messages for more info. --- Changes in v3: - Fix build - Link to v2: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230813-b4-auto-checksum-v2-0-c36231f007b0@postmarketos.org%3E Changes in v2: - Don't create a backup file - Add the new --dirty flag patch
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
With automated checksums, the last piece of the puzzle for quick
development of local packages is to fix the pkgver automatically too.
Add a new --dirty flag to pmbootstrap build which will append the current
datetime to the pkgver. This has two main purposes:
1. Ensures that the newly built package will get picked up by apk
2. Makes it clear that the package is from a local "dirty" build and not
from any binary repo.
The dirty flag only applies when either the local checksums are out of
date, or if the local package source dir has been modified since the
last build. This ensures that only packages the user is working on will
get built when this flag is set.
With this logic in place, it is now sensible to add a '--build' flag to
[message trimmed]
From Caleb Connolly to ~postmarketos/pmbootstrap-devel
Add a new "auto_checksum" config option which, when set, will make
pmbootstrap fix checksums for local sources in-place before building a
package.
This _drastically_ speeds up development when working with files that
are local to pmaports.
It isn't done automatically for remote sources as there is still some
value in having these error out (e.g. catching corrupt downloads).
Additionally, those sources shouldn't change regularly (if you're doing
local development like this, please use "pmbootstrap build --src"!)
Enable this option by default, it doesn't introduce any additional risk.
[message trimmed]