user-cont / frambo Goto Github PK
View Code? Open in Web Editor NEWFramework for our automation bots.
License: GNU General Public License v3.0
Framework for our automation bots.
License: GNU General Public License v3.0
Did I forget to use Google before implementing the PersistentDict?
For cases we want to report something without trace-backing the bot.
Inspiration:
client = raven.Client(dsn, install_logging_hook=True)
client.capture(event_type, tags=tags, fingerprint=fingerprint, **kwargs)
Copy pasted from internal Gitlab (reported by @dhodovsk )
betka
bot clones dist-git repositories by clone SSH URL.
For src.osci.redhat.com
we use PAGURE_PORT.
But src.fedoraproject.org does not use it.
https://github.com/user-cont/frambo/blob/master/frambo/pagure.py#L4
The Pull request which fixes it will follow soon.
I would suggest, in case of get_from_frambo_config("pagure", "port")
fails with KeyError, then initiated as PAGURE_PORT = ""
See configuration file for pagure.io https://github.com/user-cont/frambo/blob/master/frambo/data/conf.d/config.yml#L12
try:
PAGURE_PORT = get_from_frambo_config("pagure", "port")
except ValueError:
PAGURE_PORT = ""
See betka output:
betka_1 | File "/usr/local/lib/python3.7/site-packages/betka/core.py", line 18, in <module>
betka_1 | from frambo.pagure import PAGURE_HOST, PAGURE_PORT, PAGURE_URL
betka_1 | File "/usr/local/lib/python3.7/site-packages/frambo/pagure.py", line 4, in <module>
betka_1 | PAGURE_PORT = get_from_frambo_config("pagure", "port")
betka_1 | File "/usr/local/lib/python3.7/site-packages/frambo/config.py", line 58, in get_from_frambo_config
betka_1 | raise ValueError(f"{module}:{key} not set in {CONFIG_DIR / 'config.yml'}")
betka_1 | ValueError: Couldn't import 'tasks': pagure:port not set in /usr/local/lib/python3.7/site-packages/frambo/data/conf.d/config.yml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.