Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tools): implement move command #1

Merged
merged 47 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
c9e8ac0
some scaffolding around arguments, slug paths, ignore .DS_Store
argl Aug 28, 2024
a0f64fb
fix some testing issues rot rari-tools
argl Aug 28, 2024
0da34e2
serializer for frontmatter, PageWriter for Doc scaffolding, factor ou…
argl Aug 29, 2024
8f2e0b5
more file system stuff
argl Aug 30, 2024
c00a6e0
Merge remote-tracking branch 'origin/main' into MP-1459-tools
argl Sep 17, 2024
00eaf87
fix merge issues
argl Sep 17, 2024
58b7b80
some more refactoring to keep track of main
argl Sep 17, 2024
5ebaeaa
some refactoring
argl Sep 17, 2024
6c4ac81
some path woes, but we're getting there
argl Sep 18, 2024
e8a1648
some cleanup, wikihistory
argl Sep 18, 2024
4d7f91b
cargo
argl Sep 19, 2024
f95e2fd
Merge branch 'main' into MP-1459-tools
argl Sep 19, 2024
9b413ac
resolve merge conflicts, make sure target directory is created before…
argl Sep 19, 2024
3eaa205
minimal cloning implementation of parts of the add_redirects function
argl Sep 20, 2024
c8e513e
more tests
argl Sep 22, 2024
3fdd0f9
fixed test
argl Sep 22, 2024
b2d451d
write out redirects file
argl Sep 22, 2024
987b522
more validations for redirects, fixed translated content move, git co…
argl Sep 22, 2024
9fb5e31
add a dry-run test for move, added a translated content root for test…
argl Sep 23, 2024
afd1502
placeholder for `short_cuts` call
argl Sep 23, 2024
1e0d99f
Merge branch 'main' into MP-1459-tools
argl Sep 23, 2024
580e099
fix merge issues: Locale::all -> Locale::for_generic_and_spas
argl Sep 23, 2024
0f1eb9d
simplified forbidden symbol check
argl Sep 24, 2024
1304743
Merge branch 'main' into MP-1459-tools
argl Sep 24, 2024
82e905b
moved redirect manipulation from rari_docs to rari_tools
argl Sep 24, 2024
b287a66
refactored validation functions, fixed processing logic
argl Sep 25, 2024
585e6ae
some cleanup, disable checking for existing file/folders on the `from…
argl Sep 25, 2024
9a7b82d
remove static fixtures
argl Sep 26, 2024
ac4c1c5
gitignore dynamic fixture paths
argl Sep 26, 2024
eaa1995
intermediate fixture stuff
argl Sep 26, 2024
b300832
adjust gitignore
argl Sep 26, 2024
6b385dc
remove unused fixtures
argl Sep 26, 2024
40b1707
dynamic docs fixtures with automatic removal, make test code conditio…
argl Sep 26, 2024
cda6789
more fixtures, make fixture-dependent tests run serially
argl Sep 27, 2024
f2ffe3e
do_move tests for default and translated languages
argl Sep 27, 2024
6404a96
Merge branch 'main' into MP-1459-tools
argl Sep 27, 2024
0acc456
fixed merge errors
argl Sep 27, 2024
9a88fed
fix(lint): clippy
fiji-flo Oct 1, 2024
8b6c85d
keep .keep
argl Oct 1, 2024
71bab97
chore(doc): buffed writer
fiji-flo Oct 1, 2024
e545453
chore(tool): optimize move
fiji-flo Oct 1, 2024
273e84a
chore(fmt): fmt with nightly
fiji-flo Oct 1, 2024
a6ee131
chore(various): enhance wikihistory and yaml
fiji-flo Oct 2, 2024
7f9b2ff
chote(fmt): fmt
fiji-flo Oct 2, 2024
5223f68
fix(fm): fix frontmatter formatting
fiji-flo Oct 2, 2024
159acab
Merge remote-tracking branch 'upstream/main' into MP-1459-tools
fiji-flo Oct 2, 2024
27f0d5e
more locale derefs
fiji-flo Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[env]
TESTING_CONTENT_ROOT = { value = "tests/data/content/files", relative = true }
TESTING_CONTENT_TRANSLATED_ROOT = { value = "tests/data/translated_content/files", relative = true }
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
/target
.config.toml
.DS_Store
tests/data/content/files/*
!tests/data/content/files/.keep
tests/data/translated_content/files/*
!tests/data/translated_content/files/.keep
195 changes: 189 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading