Backup #16

Merged
cswimr merged 41 commits from backup into main 2024-01-31 15:58:08 -05:00
Owner

Inspired by Honkertonken-Cog's Backup cog, but with the added functionality of being able to readd the exported repositories and reinstall/reload the exported cogs automatically.

Inspired by [Honkertonken-Cog's Backup cog](https://github.com/Honkertonken/Honkertonken-Cogs/tree/3.5/dpy2), but with the added functionality of being able to readd the exported repositories and reinstall/reload the exported cogs automatically.
cswimr added the
cog
label 2024-01-31 12:33:24 -05:00
cswimr added 3 commits 2024-01-31 12:33:25 -05:00
feat(docs): added Backup documentation
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 13s
6fbfa96cf2
cswimr added 1 commit 2024-01-31 12:34:29 -05:00
fix(docs): fixed incorrect headers
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
932c9f61ed
cswimr added 1 commit 2024-01-31 12:35:04 -05:00
fix(backup): pylint fixes
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 14s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
35ffec9c3f
cswimr added 1 commit 2024-01-31 12:37:29 -05:00
fix(backup): only try to access message attachments if the message has any
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 10s
045d51bc23
cswimr added 1 commit 2024-01-31 12:38:48 -05:00
fix(backup): fixed list out of index error
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 14s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
26b085231b
cswimr added 1 commit 2024-01-31 12:55:38 -05:00
fix(backup): loads the export to see if it's actually valid json or not
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
d0375c3bdb
cswimr added 1 commit 2024-01-31 12:56:53 -05:00
fix(backup): lol.
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 14s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
52f8439383
cswimr added 1 commit 2024-01-31 13:03:04 -05:00
fix(backup): added a kwarg to backup_import
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
702de21448
cswimr added 1 commit 2024-01-31 13:07:11 -05:00
fix(backup): support codeblocks
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
2dd8663e78
cswimr added 1 commit 2024-01-31 13:07:50 -05:00
fix(backup): fixed extract_json_from_codeblock
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
5eb762d9fe
cswimr added 1 commit 2024-01-31 13:10:34 -05:00
fix(backup): properly support codeblocks (maybe?)
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
168f62d43f
cswimr added 1 commit 2024-01-31 13:11:25 -05:00
Revert "fix(backup): properly support codeblocks (maybe?)"
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
c2aa674bff
This reverts commit 168f62d43f.
cswimr added 1 commit 2024-01-31 13:17:56 -05:00
fix(backup): remove support for message content based json loading
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
c07c7317f4
cswimr added 1 commit 2024-01-31 13:19:27 -05:00
fix(backup): added error message for if you don't provide an attachment
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
037ef84dcc
cswimr added 1 commit 2024-01-31 13:21:24 -05:00
misc(backup): condensed some code
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
ac761d9284
cswimr added 2 commits 2024-01-31 13:33:40 -05:00
fix(backup): export branch as well
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
3662ce3b23
cswimr added 1 commit 2024-01-31 13:55:35 -05:00
feat(backup): export more information on each individual cog
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
d7b5c5f239
cswimr added 1 commit 2024-01-31 14:15:47 -05:00
feat(backup): finished the importer, minus the loading functionality
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
fa6fcfb75f
cswimr added 1 commit 2024-01-31 14:16:18 -05:00
fix(backup): forced incompatibility with pylav as intended
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
bbecff3ed0
cswimr added 1 commit 2024-01-31 14:18:39 -05:00
fix(backup): contains isn't a thing
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
add1e3ef1d
cswimr added 1 commit 2024-01-31 14:21:57 -05:00
fix(backup): commented out error handling for an error that doesn't exist yet
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
fdb5d323eb
cswimr added 1 commit 2024-01-31 14:22:48 -05:00
fix(backup): logger, not log
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 13s
6dfeb97180
cswimr added 1 commit 2024-01-31 14:26:51 -05:00
fix(backup): swapped around some kwargs for add_repo (L109)
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
417ee9bde4
cswimr added 1 commit 2024-01-31 14:30:42 -05:00
fix(backup): fixed a few errors
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
f4f174ce81
cswimr added 1 commit 2024-01-31 14:37:53 -05:00
fix(backup): fixed some stuff
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
760059f8f0
cswimr added 1 commit 2024-01-31 14:38:29 -05:00
fix(backup): awaited a coroutine
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
8327270e61
cswimr added 1 commit 2024-01-31 14:40:58 -05:00
fix(backup): fixed an AttributeError
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 18s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s
acf89e090f
cswimr added 1 commit 2024-01-31 14:42:31 -05:00
fix(backup): fixed another attributeerror
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 15s
57c129c9ce
cswimr added 1 commit 2024-01-31 14:45:58 -05:00
fix(backup): fixed some other errors
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s
f33ebd29e9
cswimr added 1 commit 2024-01-31 14:48:07 -05:00
fix(backup): fixed the final logging step
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 18s
9b930fc05b
cswimr added 1 commit 2024-01-31 14:54:37 -05:00
fix(backup): pylint fixes
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
756265503c
cswimr added 1 commit 2024-01-31 15:00:46 -05:00
feat(backup): added more verbose logging
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
a00bfc3f93
cswimr added 2 commits 2024-01-31 15:05:25 -05:00
fix(backup): fixed some logging stuff
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
f57b2c5196
cswimr added 1 commit 2024-01-31 15:12:37 -05:00
feat(backup): exports will now check if a cog is loaded
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s
4e70145d38
cswimr added 1 commit 2024-01-31 15:48:24 -05:00
fix(backup): doing some cleanup
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
22237a21b1
cswimr added 1 commit 2024-01-31 15:52:46 -05:00
fix(backup): fixed not installing cogs from repositories that already exist
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s
49907e7803
cswimr added 1 commit 2024-01-31 15:56:29 -05:00
fix(backup): do not uninstall yourself
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
053b5b7472
cswimr changed title from WIP: Backup to Backup 2024-01-31 15:57:56 -05:00
cswimr merged commit 71b900fa08 into main 2024-01-31 15:58:08 -05:00
cswimr deleted branch backup 2024-01-31 15:58:08 -05:00
Sign in to join this conversation.
No description provided.