Bat: Help out in upstream projects (our dependencies)

Created on 3 Oct 2020  路  7Comments  路  Source: sharkdp/bat

With all the recent news about Hacktoberfest I thought it would be a good idea to point out good beginner issues that would be actually helpful for bat. In the past years, I have actually experienced Hacktoberfest as a really great event - both as a contributor as well as a maintainer.

bat relies on huge number of other projects: we have approximately 170 Rust crates that we depend on (directly or indirectly), and we include approximately 65 submodules with syntaxes and themes.

Naturally, some of the reported bugs on our issue tracker are actually bugs in one of these upstream components:

List of issues labeled with upstream-error.

It seems like Hacktoberfest would be a great motivation to give something back to the projects we rely on. This could be a bugfix for one of the things listed above, but could also be a regular contribution to one of these projects. In terms of importance for bat, the following projects would probably be the most prominent ones:

hacktoberfest help wanted

Most helpful comment

Unfortunately none of the mentioned repositories have topic:hacktoberfest so PRs to them are ineligible.

True, but I can offer to accept the corresponding PRs on this repository that update the respective dependency. If the upstream patches have not been merged yet, we can open "reminder" PRs here, that we can "hacktoberfest-accept". I think that would be fair for everyone.

All 7 comments

Unfortunately none of the mentioned repositories have topic:hacktoberfest so PRs to them are ineligible.

Unfortunately none of the mentioned repositories have topic:hacktoberfest so PRs to them are ineligible.

True, but I can offer to accept the corresponding PRs on this repository that update the respective dependency. If the upstream patches have not been merged yet, we can open "reminder" PRs here, that we can "hacktoberfest-accept". I think that would be fair for everyone.

I wanted to open a separate issue (maybe still can) but feels like this a good one to discuss.

I think the whole community would benefit if you can extract out the syntax highlighting data and maintain it separately (maybe a git submodule?). I haven't see anyone else in the rust ecosystem do it as good as you and they all have issues like this (it works in bat). Let's try to reduce duplication work and keep the efforts in one place.

Also, I have another thing I wanted to ask, do you want me to create an issue for it? I already mentioned it once before somewhere.

You can reduce the dependency list by removing ansi_term and ansi_colours since console has the capability (and more since it handles old windows too).

I think the whole community would benefit if you can extract out the syntax highlighting data and maintain it separately (maybe a git submodule?).

There is an issue/discussion for that here:
https://github.com/sharkdp/bat/issues/919

Wrong button, sorry about that!

Thanks for pointing. What about the second comment? Should I create an issue for it?

What about the second comment? Should I create an issue for it?

Yes, please. Thank you.

Was this page helpful?
0 / 5 - 0 ratings