tldr-pages / tldr-bot Goto Github PK
View Code? Open in Web Editor NEWA simple bot that performs automation tasks on the main tldr repo
Home Page: https://github.com/tldr-bot
License: MIT License
A simple bot that performs automation tasks on the main tldr repo
Home Page: https://github.com/tldr-bot
License: MIT License
I recently wrote a Python script, set-more-info-link.py
(tldr-pages/tldr#5654) that takes a page in the format platform/page.md
and a link, and adds/updates the link in the page and all translations using a map of the approprate labels.
I was thinking just now that it might be nice to be able to, in a PR, comment something like
@tldr-bot /set-more-info-link common/page.md "https://example.com"
whereupon the bot (@tldr-bot) ran set-more-info-link.py
with those arguments, committed the changes to the PR, maybe the message could be like
page: update more information link
If this were approved, I'd be happy to work on it.
The probot-stale bot we have running has a special bot
tag next to it's name. Could we do this for @tldr-bot too?
This was first suggested in tldr-pages/tldr#1380 (comment).
Ideally the error messages would be more human-friendly. Currently they look like this:
The build for this PR has failed with the following message:
pages/linux/calc.md:10: TLDR103 Command example is missing its closing backtick
Please fix the error(s) and push again.
It would be nice to have something the like following, instead:
The build for this PR has failed with the following errors:
On pages/linux/calc.md, line 10: `calc -p '{{85 * (36 / 4)}}' Error: Command example is missing its closing backtick.
Please fix the error(s) and push again.
This was suggested in tldr-pages/tldr#1199 (comment) and tldr-pages/tldr#1380 (comment).
Here's a rough draft to get some ideas rolling:
It is based on the current tldr-pages project icon:
When you approve a PR which can't yet be merged, because it was just opened a few hours ago, you prabably mark the notification as done. This either leads to forgetting about the PR and leaving it unmerged for a long time or merging it too early to prevent this problem. This could be solved by a notification from tldr-bot with these requirements:
As @agnivade noted in #6 (comment), a package management tool like Poetry (https://poetry.eustace.io) should be used to capture the dependencies in a Pyproject.toml
file.
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.