[PATCH pmbootstrap v2] pmb: Remind users to ensure pmbootstrap is updated before reporting errors
Export this patch
This will hopefully help users resolve problems related to outdated
pmbootstrap versions.
Oh I've missed the v2 of this patch... merged almost the same patch
though as I've edited the previous one before merge.
It links to the tags page instead of the releases page since it seems
like new releases only are being created as tags, not GitLab releases.
Reviewed-by: Caleb Connolly <kc@postmarketos.org>
// Caleb (they/them)
Today lots of people are reviewing :) Still:
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Exactly!
---
pmb/__init__.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pmb/__init__.py b/pmb/__init__.py
index 18612e24..de9d8352 100644
--- a/pmb/__init__.py
+++ b/pmb/__init__.py
@@ -90,6 +90,10 @@ def main():
" get more output, e.g. 'pmbootstrap"
" --details-to-stdout init'.")
print(log_hint)
+ print("Before you report this error, ensure that pmbootstrap is "
+ "up to date.")
+ print(f"Installed version: {__version__}")
+ print("List of releases: https://gitlab.com/postmarketOS/pmbootstrap/-/tags")
Reviewed-by: Clayton Craft <clayton@craftyguy.net>
return 1
--
2.40.1
pmbootstrap/patches/.build.yml: SUCCESS in 21m5s
[pmb: Remind users to ensure pmbootstrap is updated before reporting errors][0] v2 from [Newbyte][1]
[0]: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/41375
[1]: mailto:newbyte@postmarketos.org
✓ #995306 SUCCESS pmbootstrap/patches/.build.yml https://builds.sr.ht/~postmarketos/job/995306