Guilhem Fauré
23d8702dbe
init foundations
2023-06-22 15:46:36 +02:00
Guilhem Fauré
80c26fb467
rename read to convert, architecture defined
2023-06-21 18:00:19 +02:00
Guilhem Fauré
a0b00393d0
continue refactor with tree modules, each adding capabilities: read, write, print
2023-06-21 14:55:09 +02:00
Guilhem Fauré
33517d2ad9
no more call to CFG in regexmaps
2023-06-21 12:04:01 +02:00
Guilhem Fauré
dea2f45155
config don’t read cli args directly
2023-06-21 11:54:27 +02:00
Guilhem Fauré
d86fa7ab10
start huge refactor
2023-06-21 11:50:35 +02:00
Guilhem Fauré
cb5001f187
Merge branch 'main' into virtual-tree-refactor
2023-06-21 11:36:19 +02:00
Guilhem Fauré
1c7fdb555a
init move fields settings
2023-06-21 11:12:36 +02:00
Guilhem Fauré
b884c33b1d
Init virtual tree refactor
...
This refactor is intended to overcome certain limitations in the current
architecture, where there’s a lot of situations where we would need to
"seek in the future" to get the right value.
In this new refactor, the goal is to incrementally build a tree
virtually representing the final repo, with multiple passes.
Then, when finished, another module will walk the tree, display in
terminal and write the files.
2023-06-19 10:44:32 +02:00
Guilhem Fauré
3aa4f049f8
no meta markup by default
2023-06-19 10:43:52 +02:00
Guilhem Fauré
91a65bb571
rename scripts
2023-06-19 09:58:03 +02:00
Guilhem Fauré
30c5cc680a
update repo
2023-06-16 17:11:32 +02:00
Guilhem Fauré
fd56e86dda
add option to remove markup of metadata fields
2023-06-16 16:50:05 +02:00
Guilhem Fauré
e1cd926078
feat : settings to ignore empty objects or ignore objects of which titles matches a regex
2023-06-16 16:09:46 +02:00
Guilhem Fauré
9aa81efa60
fix : set translationKey to self id if id_trad = 0
2023-06-16 15:54:18 +02:00
Guilhem Fauré
6e6d3f53ca
fix : replace correctly every links of article instead of just the first
2023-06-16 15:51:18 +02:00
Guilhem Fauré
ac3d51ea36
config can be placed in standard config dirs & passed as command line argument
2023-06-16 15:08:29 +02:00
Guilhem Fauré
ce01d4d665
small fixes
2023-06-16 12:44:10 +02:00
Guilhem Fauré
548dc36875
spip specific meta optional
2023-06-16 10:42:43 +02:00
Guilhem Fauré
dc80f32df5
better install & config instructions
2023-06-15 18:12:19 +02:00
Guilhem Fauré
f82a688187
execution instructions, remove typing extensions
2023-06-15 17:00:59 +02:00
Guilhem Fauré
8925f27885
add main
2023-06-15 15:33:30 +02:00
Guilhem Fauré
7b2f0d45b8
fix licence & add note on each file
2023-06-15 15:28:37 +02:00
Guilhem Fauré
dc9d5a8e72
init testing dockerfile
2023-06-14 17:19:35 +02:00
Guilhem Fauré
34f28f8e84
classes renaming
2023-06-13 14:07:15 +02:00
Guilhem Fauré
df7e0df1cf
better handling of filenames conflicts + differences between path and url, cleaning, removed interface
2023-06-13 13:45:16 +02:00
Guilhem Fauré
be4b5166d7
removed useless interfaces
2023-06-12 17:00:07 +02:00
Guilhem Fauré
aef47c77c5
minor fixes
2023-06-12 11:31:16 +02:00
Guilhem Fauré
e279365b8d
fix internal link replacement + lang highlighting in term
2023-06-08 16:19:56 +02:00
Guilhem Fauré
cc3a2103d0
fix dir rewrite in case of name conflict & remove test files
2023-06-08 11:48:59 +02:00
Guilhem Fauré
39082cb994
fixed counter that was falsified by raises
2023-06-08 10:12:56 +02:00
Guilhem Fauré
631c168c8c
add option to define a single language of storage, in which files & directories will be written
2023-06-07 17:40:24 +02:00
Guilhem Fauré
a8ebb2cd24
add option to ignore certain objects
2023-06-07 16:05:09 +02:00
Guilhem Fauré
3564a56870
fix output counting
2023-06-07 15:45:27 +02:00
Guilhem Fauré
76fe8cd4c8
better defaults & add storage language
2023-06-07 15:39:09 +02:00
Guilhem Fauré
643fb7f6ea
fix logging & deduplicate write_children
2023-06-07 15:35:04 +02:00
Guilhem Fauré
89ab4226b9
more precise end message
2023-06-07 14:39:22 +02:00
Guilhem Fauré
3ab58288f7
begin message outputs one only string + output tree in debug log
2023-06-07 11:42:56 +02:00
Guilhem Fauré
da112ca68e
cleaning
2023-06-07 10:14:25 +02:00
Guilhem Fauré
997523fe0e
cleaning
2023-06-06 15:32:39 +02:00
Guilhem Fauré
763f7a42ea
Unnamed update
2023-06-06 10:46:04 +02:00
Guilhem Fauré
3c2e6597fc
update readme
2023-06-06 10:44:08 +02:00
Guilhem Fauré
32844f451b
log certain error messages that weren’t
2023-06-05 15:54:47 +02:00
Guilhem Fauré
7fd92d7081
cleaning
2023-06-05 15:25:43 +02:00
Guilhem Fauré
a5d477036a
writing is now done within a database connection context
2023-06-05 14:51:51 +02:00
Guilhem Fauré
9f2dfc546a
fix files that should be in same dest dir
2023-06-05 12:24:08 +02:00
Guilhem Fauré
c350ddbc01
prevent equals dest_dirs
2023-06-05 11:43:52 +02:00
Guilhem Fauré
499f1eab61
fix draft logic and add option to not export them
2023-06-05 10:49:27 +02:00
Guilhem Fauré
a4f5837e0c
translation key for traslated multi
2023-06-05 09:48:18 +02:00
Guilhem Fauré
5d25796323
add option to prepend id
2023-06-02 17:56:48 +02:00