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

Update dependencies & Misc improvements #31

Open
wants to merge 41 commits into
base: v3
Choose a base branch
from
Open

Conversation

Ra2-IFV
Copy link
Contributor

@Ra2-IFV Ra2-IFV commented Oct 25, 2023

No description provided.

Ra2-IFV and others added 3 commits October 25, 2023 20:20
…OpenSSLv3 error

Please use `start.sh` to run xiaomai-bot instead!
Remove `channel.*` attribude in modules
Modify edge_gpt module for updates
@Ra2-IFV
Copy link
Contributor Author

Ra2-IFV commented Oct 27, 2023

Merged Sourcery refactor

graia-ariadne 0.11.7 does not support launart versions above 0.7, which affects some dependencies
@Ra2-IFV Ra2-IFV force-pushed the v3-dev branch 2 times, most recently from 090773c to 2b5e226 Compare October 30, 2023 14:58
@Ra2-IFV Ra2-IFV marked this pull request as ready for review November 5, 2023 12:08
Ra2-IFV and others added 5 commits December 6, 2023 03:45
This improved workarounds in commit 90e7597
This commit is mainly done with the following bash commands:
```
MODULES_PATH="./modules"
for i in $(ls $MODULES_PATH/required)
do
sed -i 's/#channel.name/channel.meta["name"] = /g' $MODULES_PATH/required/$i/__init__.py
sed -i 's/#channel.description/channel.meta["description"] = /g' $MODULES_PATH/required/$i/__init__.py
sed -i 's/#channel.author/channel.meta["author"] = /g' $MODULES_PATH/required/$i/__init__.py
sed -i -E '/$channel.meta/{s/\(//;s/\)//}' $MODULES_PATH/required/$i/__init__.py
done
for i in $(ls $MODULES_PATH/self_contained)
do
sed -i 's/#channel.name/channel.meta["name"] = /g' $MODULES_PATH/self_contained/$i/__init__.py
sed -i 's/#channel.description/channel.meta["description"] = /g' $MODULES_PATH/self_contained/$i/__init__.py
sed -i 's/#channel.author/channel.meta["author"] = /g' $MODULES_PATH/self_contained/$i/__init__.py
sed -i -E '/$channel.meta/{s/\(//;s/\)//}' $MODULES_PATH/self_contained/$i/__init__.py
done
```
sed command is very powerful, but is a bit diffcult to learn.
…g keys

Add new default config key, refer to commit ec9e385
@Ra2-IFV Ra2-IFV changed the title Update dependencies Update dependencies & Misc improvements Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant