Skip to content

Commit

Permalink
Read bookmarks from Safari (#74)
Browse files Browse the repository at this point in the history
* Add todos

* Implement read source

* Refactor import

* Add todo

* Refactor import

* Refactor import

* Refactor import III

* Fix lifetime

* Make ReadBookmark object safe

* Move trait

* Refactor source reader

* Refactor source reader II

* Refactor source reader III

* Refactor source reader IV

* Fix test

* Refactor bookmark reader

* Add documentation

* Improve documentation

* Update changelog

* Implement source selector

* Refactor source type

* Add tests

* Rename source

* Improve tests

* Update gitignore

* Add tests

* Fix clippy warnings

* Fix clippy warnings II

* Infer mime type

* Fix typo

* Implement select source

* Implement safari reader

* Format code

* Run tests verbosely

* Refactor dir

* Fix tests

* Remove debug statement

* Add tests

* Add test data

* Fix clippy warnings
  • Loading branch information
quambene authored Feb 18, 2024
1 parent b980594 commit 60682b4
Show file tree
Hide file tree
Showing 21 changed files with 1,425 additions and 874 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@
.vscode

# Test data
**/*.txt
**/*.json
**/*.jsonlz4
**/*.html
**/*.plist
test_data/*
!test_data/bookmarks_simple.txt
!test_data/bookmarks_chromium.json
!test_data/bookmarks_chromium_no_extension
!test_data/bookmarks_firefox.json
!test_data/bookmarks_safari_xml.plist

# Testing
/bogrep
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- Take ignored urls into account in `bogrep import`
- Fetch underlying urls
- Clean up lock file if `bogrep` is aborted
- Add `SelectSource` and `ReadSource` traits
- Add `PlistReader` and `SafariReader`
- changed
- Update to rust 1.75
- Fix duplicate cache files for `bogrep fetch --urls`
Expand Down
Loading

0 comments on commit 60682b4

Please sign in to comment.