Commit graph

199 commits

Author SHA1 Message Date
e93e69d771 implement VersionInfo 2022-02-08 00:33:29 +01:00
b53b3be39a fix bug with version info 2022-02-08 00:24:25 +01:00
7d8f33294f add todos 2022-02-07 23:38:32 +01:00
d28205311c implement getting pytex files 2022-02-07 23:33:32 +01:00
dd65ab626b start implementing build (still failing) 2022-02-07 23:12:17 +01:00
41a7eb2c20 fix imports 2022-02-07 22:28:13 +01:00
13b5aa0d2a add proper version info object 2022-02-07 22:24:14 +01:00
f5c1a6c0c3 add hashing 2022-02-07 22:01:43 +01:00
d08637eeba add dependencies to a formatterIF 2022-02-07 22:01:31 +01:00
b3eb6f2a90 adjust set_from_json method and make GitVersionInfo a config object 2022-02-07 21:42:31 +01:00
c83f24798e refactor files and rework git version info into a Config file 2022-02-07 21:18:47 +01:00
07280ce9f2 remove unnecessary files 2022-02-07 21:03:59 +01:00
3af968470d add TODO 2022-02-07 21:00:51 +01:00
e68fcb6550 add root dir to pytex builder 2022-02-07 19:00:25 +01:00
94b5f28567 optimize imports and reformat files 2022-02-07 18:36:30 +01:00
3dfb889728 fix some bugs in parsing 2022-02-07 18:33:00 +01:00
fd54e5221a implement i/o of pytex config 2022-02-07 18:06:19 +01:00
08c9ac19bc better imports 2022-02-07 17:45:35 +01:00
4557f282ce add i/o methods to build dir specification / make it a config 2022-02-07 17:43:23 +01:00
bcae59052c rename license -> license_ 2022-02-07 17:33:45 +01:00
6766b0405b move config to own file 2022-02-07 17:33:00 +01:00
d8c365b3ae move config to own file 2022-02-07 17:32:46 +01:00
2f335e39fa move some methods of FormattingConfig to general Config type 2022-02-07 17:28:09 +01:00
225cd19788 add setters to build dir spec 2022-02-07 17:18:10 +01:00
fde1aff4f5 rename license -> license_ 2022-02-07 17:10:12 +01:00
cbd7ac3d1a finish implementing reading from yaml / json 2022-02-07 01:15:14 +01:00
51bf833e1f fix some bugs with reading config and merging dictionaries 2022-02-07 01:09:05 +01:00
d1a87b5356 fix some bugs 2022-02-07 00:42:03 +01:00
9d68c5cd9f simplify config before dumping 2022-02-07 00:21:16 +01:00
fb9a6a8471 fix writing to json and yaml 2022-02-07 00:04:31 +01:00
d37fbe1c76 dump 2022-02-06 23:53:07 +01:00
d49b845039 remove bad import 2022-02-06 23:53:01 +01:00
d1ed1718c4 add to generic text. dump formatting config to json 2022-02-06 23:52:44 +01:00
cfc6be9cd6 add setters to formatting config 2022-02-06 22:58:43 +01:00
f84a9e53ab change handling of license to GenericText 2022-02-06 22:37:41 +01:00
a49c9f7d1b add dependencies attributes 2022-02-06 22:34:43 +01:00
fdcf03eb3d add build time attribute 2022-02-06 22:30:08 +01:00
75c528c3df add path method 2022-02-06 22:20:28 +01:00
a8303cae45 add git management file 2022-02-06 21:27:19 +01:00
426e5a7d66 make config class a better interface 2022-02-06 21:26:55 +01:00
66b597d90c refactor formatting config to exclude git version info 2022-02-06 21:25:52 +01:00
85a32a19cc fix builder class 2022-02-06 20:43:49 +01:00
6d219f00fa dump tmp changes 2022-02-06 20:39:27 +01:00
f2fc8a832d start working on pytex builder 2022-02-06 20:39:17 +01:00
6bef2a82e6 make pytex file more flexible 2022-02-06 20:38:51 +01:00
4928694212 make pytex file more flexible 2022-02-06 20:38:46 +01:00
d6b9f95efb add pytex config 2022-02-06 20:38:14 +01:00
fd7d49c0a6 reformat file 2022-02-06 19:40:41 +01:00
b7aaa974d2 add more formatters 2022-02-06 19:40:14 +01:00
8e8d2a56c6 implement basic macros 2022-02-06 19:36:37 +01:00
79fc7b5217 add header in tex formatter 2022-02-06 18:51:49 +01:00
94516b4bbb remove prefix from config 2022-02-06 18:39:34 +01:00
1094fce0a4 implement general interface for tex formatters 2022-02-06 18:34:39 +01:00
9ae70fae13 add LineStream class 2022-02-06 18:12:30 +01:00
a5a3ec0dfa add description attribute to formatting config 2022-02-06 16:52:24 +01:00
6a09adac85 implement dict formatter 2022-02-06 16:50:09 +01:00
0f912b6c2f add header formatting method 2022-02-06 16:08:05 +01:00
b9fd9f0e25 implement config parsing of pytex files in pytex formatter class 2022-02-06 16:04:11 +01:00
68d908c4f2 add escape char attribute 2022-02-06 15:36:12 +01:00
ed491be8ca implement better generic text and part of header method 2022-02-06 15:28:04 +01:00
ea81305e36 bugfix 2022-02-06 15:12:40 +01:00
4e1eee2c8c formatter 2022-02-06 15:12:05 +01:00
37353e8695 dump useless stuff 2022-02-06 15:11:45 +01:00
12de6e43cb start tex formatter 2022-02-06 15:11:34 +01:00
2ee175784b start dict formatter 2022-02-06 15:10:38 +01:00
5ede703131 start pytex formatter 2022-02-06 15:10:28 +01:00
19ed77fd38 rename generic text method 2022-02-06 15:10:00 +01:00
3fd9ab1049 move git version info 2022-02-06 15:09:49 +01:00
eccf857d19 better formatting config properties 2022-02-06 15:09:25 +01:00
406bf0bf7d move enums 2022-02-06 00:12:54 +01:00
c669b15fc9 better decorator 2022-02-06 00:02:59 +01:00
1688463e96 add experimental decorator 2022-02-05 23:54:45 +01:00
5f4d9a8cc0 extend formatting config 2022-02-05 22:40:10 +01:00
e1dc1e367a add generic text class 2022-02-05 22:37:09 +01:00
9d3496b2ba outline pytexbuilder interface 2022-02-05 22:02:37 +01:00
dd85f7425d refactor builder into own file 2022-02-05 21:44:52 +01:00
1cdb9964e7 remove some unnecessary dependencies in subclasses.
add PyTeXBuilder class instead of a global config
2022-02-05 21:13:43 +01:00
4cf09b71a2 use delegation to pathlib.Path to implement RelativePath class 2022-02-05 20:06:17 +01:00
b6d0d935ff update relative paths on path change 2022-02-05 19:38:42 +01:00
15dd058f73 fix some circular imports 2022-02-05 19:36:42 +01:00
b7bf52a24b add exceptions folder 2022-02-05 19:20:04 +01:00
1ab35ed7c9 refactor / rename files into different project structure 2022-02-05 19:09:09 +01:00
e74c081e42 use NotImplementedError 2022-02-05 19:05:50 +01:00
89f4bcbe0b catch possible error 2022-02-05 18:55:28 +01:00
b38c01cb0c update init files 2022-02-05 18:52:08 +01:00
8df045c457 implement methods of pytexSourceFile class 2022-02-05 18:51:52 +01:00
f4e133b3e5 separate relative path and pytex path 2022-02-05 18:31:32 +01:00
ce0cd5794d rework relative paths 2022-02-05 18:17:00 +01:00
6278a0df5c add formatter interface 2022-02-05 18:16:35 +01:00
8b07649512 add logging 2022-02-05 18:16:27 +01:00
96f7c3725b add missing init file 2022-02-04 21:16:10 +01:00
ada4b6865c start rework of relative paths 2022-02-04 21:15:56 +01:00
6d158ebea9 conversions of type 2022-02-04 21:15:36 +01:00
81de8ae3f9 update config 2022-02-04 21:15:19 +01:00
c6b9bb6a77 add pytex files 2022-02-04 21:14:40 +01:00
a3b8253aa3 add build info 2022-02-04 21:13:26 +01:00
ddc38ec0cb rename bunch of classes 2022-02-04 11:48:21 +01:00
60ac43a1c2 add global wrapper dir config 2022-02-04 11:43:48 +01:00
8c7deb2cbc initial commit: draft data structures 2022-02-04 11:39:15 +01:00