Rhet Turnbull
253901281d
Fixed requirements.txt for ubuntu
2023-05-07 07:14:18 -07:00
Rhet Turnbull
051da093ea
Added platform conditionals to requirements.txt
2023-05-07 07:08:54 -07:00
Rhet Turnbull
fd5b16578c
Added ubuntu runners
2023-05-07 07:02:45 -07:00
dvdkon
ca3da647f2
Port to non-MacOS platforms ( #1026 )
...
* Port to non-MacOS platforms
* Keep NFD normalization on macOS
* Update locale_util.py
Fix lint error from ruff (runs in CI)
* Update query.py
click.Option first arg needs to be a list (different than click.option)
* Dynamically normalize Unicode paths in test
* Fix missing import
---------
Co-authored-by: Rhet Turnbull <rturnbull@gmail.com>
2023-05-07 06:55:56 -07:00
Rhet Turnbull
0c85298c03
Updated API_README.md to add tables()
2023-04-16 09:19:10 -07:00
Rhet Turnbull
b4b58d3b00
Updated API_README.md to add tables()
2023-04-16 09:17:56 -07:00
Rhet Turnbull
ed543aa2d0
Feature phototables ( #1059 )
...
* Added tables() method to PhotoInfo to get access to underlying tables
* This time with the phototables code...
2023-04-16 09:02:59 -07:00
allcontributors[bot]
1b0c91db97
add pekingduck as a contributor for bug ( #1058 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-12 20:41:51 -07:00
Rhet Turnbull
dd3914328b
Updated CHANGELOG.md [skip ci]
2023-04-10 20:59:09 -07:00
Rhet Turnbull
4b4252a73c
Release 0.59.3 ( #1053 )
v0.59.3
2023-04-10 20:49:19 -07:00
Rhet Turnbull
956cecfa30
Bug memory leak 1047 ( #1052 )
...
* Fix for memory leak, #1047
* Refactored photos_by_uuid, AlbumInfo.asdict for speed optimization
* Fix for huge crash log, #1048
* Fix for error on export #1046
* add rajscode as a contributor for bug (#1049 )
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
* add wernerzj as a contributor for bug (#1050 )
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Rhet Turnbull <rturnbull@gmail.com>
* Fixed all-contributors badge
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-10 16:50:17 -07:00
Rhet Turnbull
6f88f19950
Fixed all-contributors badge
2023-04-10 12:06:13 -07:00
allcontributors[bot]
ce4f3c4c0b
add wernerzj as a contributor for bug ( #1050 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Rhet Turnbull <rturnbull@gmail.com>
2023-04-10 12:02:37 -07:00
allcontributors[bot]
3993cf220d
add rajscode as a contributor for bug ( #1049 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-10 11:57:10 -07:00
allcontributors[bot]
2ae41a5a7a
add oPromessa as a contributor for doc ( #1045 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-08 21:58:26 -07:00
oPromessa
519a6b0035
Small typo on Development Environment creation instructions ( #1043 )
...
Corrections on READNE_DEV.md and testes/README.md
2023-04-08 21:56:38 -07:00
Rhet Turnbull
a4b4f1c288
Feature help no selection 1036 ( #1042 )
...
* Added validation for --selected
* Added test for #999 (project_info) that I missed on last branch
2023-04-08 14:34:08 -07:00
Rhet Turnbull
f668ecf0c4
Updated CHANGELOG.md [skip ci]
2023-04-08 12:10:43 -07:00
Rhet Turnbull
058b56092f
Release 0.59.2 ( #1041 )
v0.59.2
2023-04-08 12:04:54 -07:00
Rhet Turnbull
d2b7783125
Added shallow json() option, #1038 ( #1040 )
2023-04-08 11:10:29 -07:00
Rhet Turnbull
f4a743468d
Fix for json() failing on photos in projects, #999 ( #1039 )
2023-04-08 09:49:31 -07:00
Rhet Turnbull
adac985309
Fix non-incrementing photo count, #999
2023-04-08 09:09:33 -07:00
allcontributors[bot]
4939324d2f
add dvdkon as a contributor for code ( #1037 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-07 08:17:00 -07:00
Christian Clauss
1a3b4c2afe
Lint Python twice: 1. Whole repo, 2. Exclude tests/ ( #1035 )
...
* Lint Python twice: 1. Whole repo, 2. Exclude tests/
Both runs take less than a second so...
`line-length=366` is more reasonable`
```
- run: pip install --user ruff # Lint Python twice: 1. Whole repo, 2. Exclude tests/
- run: ruff --format=github --line-length=7228 --target-version=py39
--ignore=E402,E712,E721,E722,E741,F401,F403,F405,F541,F601,F811,F822,F841 .
- run: ruff --format=github --line-length=366 --target-version=py39
--exclude=tests/ --ignore=E402,E712,E722,E741,F401,F403,F405,F541,F822,F841 .
```
* Update configoptions.py
2023-04-07 08:14:51 -07:00
Rhet Turnbull
1b16a39cef
Updated CHANGELOG.md [skip ci]
2023-04-02 22:07:10 -07:00
Rhet Turnbull
0d31a152be
Test fix for Ventura
v0.59.1
2023-04-02 22:00:35 -07:00
Rhet Turnbull
34fbd87fc6
Release 0.59.1 ( #1034 )
2023-04-02 21:18:18 -07:00
Christian Clauss
3ddfea6a3d
Fix two undefined names in phototemplate.py ( #1030 )
...
* Fix two undefined names in phototemplate.py
% `ruff --exit-zero --select=E9,F63,F7,F82,YTT .`
```
osxphotos/cli/report_writer.py:22:1: F822 Undefined name `ExportReportWriterSqlite` in `__all__`
osxphotos/cli/report_writer.py:22:1: F822 Undefined name `SyncReportWriterSqlite` in `__all__`
osxphotos/phototemplate.py:1156:108: F821 Undefined name `vals`
osxphotos/phototemplate.py:1685:29: F821 Undefined name `PhotoInfo`
Found 4 errors.
```
* Avoid cyclic imports
2023-04-02 19:45:33 -07:00
Christian Clauss
8b59615ff7
GitHub Action to lint Python code ( #1025 )
...
* GitHub Action to lint Python code
[Ruff](https://beta.ruff.rs/ ) supports [over 500 lint rules](https://beta.ruff.rs/docs/rules ) including bandit, isort, pylint, pyupgrade, and flake8 plus its plugins, and is written in Rust for speed.
The `ruff` Action uses minimal steps to __run in ~5 seconds__, rapidly providing intuitive GitHub Annotations to contributors.

* ruff --target-version=py39
2023-04-02 19:45:13 -07:00
allcontributors[bot]
c590a16d70
add cclauss as a contributor for code ( #1033 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-02 19:44:49 -07:00
Rhet Turnbull
36ce86c4a6
Removed file locking, performance improvements ( #1032 )
2023-04-02 19:42:28 -07:00
Rhet Turnbull
93d22c646f
Updated example [skip ci]
2023-04-01 13:59:47 -07:00
Rhet Turnbull
77000d85c6
Updated example [skip ci]
2023-04-01 10:26:20 -07:00
Rhet Turnbull
005f821501
Updated CHANGELOG.md [skip ci]
2023-04-01 10:17:16 -07:00
Rhet Turnbull
622f8952b7
Release 0.59.0
v0.59.0
2023-04-01 10:09:26 -07:00
Rhet Turnbull
b7816be459
Added concurrent export example
2023-04-01 10:03:05 -07:00
Rhet Turnbull
e7099d250b
Concurrency refactor 999 ( #1029 )
...
* Working on making export threadsafe, #999
* Working on making export threadsafe, #999
* refactor for concurrent export, #999
* Fixed race condition in ExportRecord context manager
2023-04-01 09:39:08 -07:00
Rhet Turnbull
2c4d0f4546
Fixed help text
2023-03-14 12:26:19 -07:00
Rhet Turnbull
84954f4551
Updated CHANGELOG.md [skip ci]
2023-03-14 12:22:04 -07:00
allcontributors[bot]
10ebe9e02b
add pekingduck as a contributor for ideas ( #1021 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
v0.5.2
v0.58.2
2023-03-14 12:07:37 -07:00
Rhet Turnbull
6813e9f2b4
Release files for 0.58.2 ( #1020 )
2023-03-14 12:06:43 -07:00
Rhet Turnbull
1d1b69601f
Added --replace-keywords to batch-edit #1018 ( #1019 )
2023-03-14 11:58:13 -07:00
Rhet Turnbull
3ad4c7a4cc
Updated CHANGELOG.md [skip ci]
2023-03-09 06:59:08 -08:00
allcontributors[bot]
0dd628682f
add ianmmoir as a contributor for bug ( #1016 )
...
* update README.md [skip ci]
* update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
v0.58.1
2023-03-09 06:55:37 -08:00
Rhet Turnbull
8f7d88d8da
Release files for 0.58.1
2023-03-09 06:50:23 -08:00
Rhet Turnbull
4fcd381262
Hot fix for null date, #1014
2023-03-09 06:49:05 -08:00
Rhet Turnbull
10d1ea8b2c
rebuild pages
2023-03-09 06:32:58 -08:00
Rhet Turnbull
cfb623d19b
Feature appends prepends 1010 ( #1015 )
...
* Added appends, prepends filters, #1010
* Fixed initialization of field_arg
2023-03-09 06:22:24 -08:00
Rhet Turnbull
a08680ed02
Added python and macOS versions to --version ( #1008 )
2023-02-28 06:43:06 -08:00
Rhet Turnbull
56ca54ad0d
Updated CHANGELOG.md [skip ci]
2023-02-25 20:05:08 -08:00