Commit graph

3182 commits

Author SHA1 Message Date
Nick Sweeting
7377d9ebc3 bump version to 0.7.1 and fix version autodetection code 2023-11-03 20:07:39 -07:00
Nick Sweeting
907d170614 add pdm lockfile changes 2023-11-03 19:14:42 -07:00
Nick Sweeting
5ce77d3d0b
Update pip.yml 2023-11-03 19:12:19 -07:00
Nick Sweeting
c6e5a565c0 switch back to locked cache instead of private but put targetarch in cache id to separate them 2023-10-31 19:43:41 -07:00
Nick Sweeting
57f033be60 add targetos to build args 2023-10-31 19:43:01 -07:00
Nick Sweeting
db733151f7 bump user agent browser version 2023-10-31 19:16:15 -07:00
Nick Sweeting
7283e9b91d fix docker build tags 2023-10-31 19:11:14 -07:00
Nick Sweeting
00d671240e use private caches for each architecture build so as not to pollute caches with bad binaries 2023-10-31 16:06:19 -07:00
Nick Sweeting
41bd7c6480 fix cache locking errors during parallel builds 2023-10-31 14:59:34 -07:00
Nick Sweeting
2c692191ef fixes for ci 2023-10-31 06:48:55 -07:00
Nick Sweeting
bc555cca96 working arm v7 build 2023-10-31 06:28:11 -07:00
Nick Sweeting
12c966477f bump docker build action ci versions 2023-10-31 05:37:26 -07:00
Nick Sweeting
43a020c534 fewer packages 2023-10-31 05:33:30 -07:00
Nick Sweeting
211ca363b5 better dockerfiles caching 2023-10-31 05:31:19 -07:00
Nick Sweeting
562fd5a3bb revert back to python-3.11 base image and add cache dirs for massive build speed increase 2023-10-31 03:58:24 -07:00
Nick Sweeting
ce4df6d965 use global pip cache 2023-10-31 03:19:35 -07:00
Nick Sweeting
da80a41afb use bookworm-backports for everything 2023-10-31 03:11:53 -07:00
Nick Sweeting
47d9161168 fix Dockerfile 2023-10-31 03:06:02 -07:00
Nick Sweeting
aabc89d6a7 add requirements.txt 2023-10-31 01:06:57 -07:00
Nick Sweeting
f0d51c377b attempt fix for python build 2023-10-31 01:05:39 -07:00
Nick Sweeting
214016d8a1 fix broken arg 2023-10-31 00:31:14 -07:00
Nick Sweeting
b87af19235 use pdm sync instead of pdm install in docker 2023-10-31 00:30:27 -07:00
Nick Sweeting
479a6f44ea dont install site packages as editable 2023-10-31 00:27:31 -07:00
Nick Sweeting
166573d417 autodetect qemu and warn about broken chrome in emulated containers 2023-10-31 00:23:19 -07:00
Nick Sweeting
32e363848e install all optionall dependencies in docker 2023-10-31 00:00:09 -07:00
Nick Sweeting
1bfbf5e9c3 add pip packages build step 2023-10-30 23:58:13 -07:00
Nick Sweeting
ce76c324a5 autodetect uid and gid from data dir contents 2023-10-30 23:50:27 -07:00
Nick Sweeting
019c012951 fix entrypoint chowning 2023-10-30 23:42:12 -07:00
Nick Sweeting
a677ef7113 fix conditional on architecture 2023-10-30 23:34:26 -07:00
Nick Sweeting
2ab4be71c1
Add instructions to run specific branch in docker compose 2023-10-30 23:33:29 -07:00
Nick Sweeting
d46c9b9bc8 bump pip dist folder 2023-10-30 23:28:49 -07:00
Nick Sweeting
6b35c30e17 fix armv7 build for Docker and bare metal 2023-10-30 23:25:51 -07:00
Nick Sweeting
62e077a5bc
Merge pull request #1241 from overhacked/fts5-search 2023-10-30 18:49:52 -07:00
Nick Sweeting
8467d89400
Merge pull request #1255 from c01o/fix_python_test 2023-10-30 18:48:28 -07:00
Nick Sweeting
3b005b5faf
Add PDM 2023-10-30 18:48:10 -07:00
Nick Sweeting
851f59b4ba
Merge pull request #1254 from c01o/dev 2023-10-30 18:44:55 -07:00
Nick Sweeting
9b0b7c6f64 remove setup.py and youtube-dl dependency 2023-10-30 18:40:55 -07:00
Nick Sweeting
db360dea1f
Fix writing to stderr from docker entrypoint 2023-10-30 15:44:33 -07:00
Nick Sweeting
e7795550fc
add help message to permissions error output 2023-10-30 15:39:12 -07:00
Nick Sweeting
e2bcb19603
Merge pull request #1259 from mAAdhaTTah/fix-readwise-token 2023-10-30 11:59:08 -07:00
mAAdhaTTah
18e89bee3d
Fix readwise token
Accidentally shipped this hard-coded. Token is long-size revoked,
but obviously hard to use this way!
2023-10-29 17:27:04 -04:00
Nick Sweeting
720061185c
Merge pull request #1195 from overhacked/method_allow_deny 2023-10-27 23:05:30 -07:00
c01o
bb1646ddc1 Fix python-tests dependency
Starting from b6113cc, it requires `build` package to be built.
2023-10-27 07:21:55 +09:00
c01o
619c5ae6a2 Upgrade test python version
`pyproject.toml` says the minimum requirement is python 3.9, no need to test on 3.7.
Actually `setuptools 68.1.0+` requires `python 3.8+`.
2023-10-27 07:18:46 +09:00
c01o
8c25a81009 Remove playwright from armv7 2023-10-27 05:59:25 +09:00
Nick Sweeting
7a80b61bea
Merge pull request #1252 from c01o/patch-1 2023-10-25 03:28:42 -07:00
c01o
08cffb8742
Fix docker build
Lack of `fi` resulted in a syntax error.
Also, change `;` to `||` to ensure it builds successfully on architectures other than `linux/arm/v7`.


```
[2023-10-24T10:46:49.941Z] ------
 > [dev_container_auto_added_stage_label 11/18] RUN mkdir -p "/home/archivebox/.config/chromium/Crash Reports/pending/"     && chown -R archivebox "/home/archivebox/.config"     ; if [[ "linux/amd64" == "linux/arm/v7" ]]; then $exit 0; else exit 1:
0.401 /bin/bash: -c: line 2: syntax error: unexpected end of file
------
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
[2023-10-24T10:46:49.942Z] Dockerfile-with-features:135
--------------------
 134 |         && ln -s "$CHROME_BINARY" /usr/bin/chromium-browser
 135 | >>> RUN mkdir -p "/home/${ARCHIVEBOX_USER}/.config/chromium/Crash Reports/pending/" \
 136 | >>>     && chown -R $ARCHIVEBOX_USER "/home/${ARCHIVEBOX_USER}/.config" \
 137 | >>>     ; if [[ "$TARGETPLATFORM" == "linux/arm/v7" ]]; then $exit 0; else exit 1
 138 |         # ignore failure for architectures where no playwright release is available yet
--------------------
ERROR: failed to solve: process "/bin/bash -c mkdir -p \"/home/${ARCHIVEBOX_USER}/.config/chromium/Crash Reports/pending/\"     && chown -R $ARCHIVEBOX_USER \"/home/${ARCHIVEBOX_USER}/.config\"     ; if [[ \"$TARGETPLATFORM\" == \"linux/arm/v7\" ]]; then $exit 0; else exit 1" did not complete successfully: exit code: 2
```
2023-10-24 19:58:23 +09:00
Nick Sweeting
2681f752f1
ignore playwright chrome install on arm v7 2023-10-21 14:17:50 -07:00
Nick Sweeting
2928c19119 fix multiarch chromium install 2023-10-20 05:45:08 -07:00
Nick Sweeting
988b6585c9 better multiarch builds 2023-10-20 05:30:45 -07:00