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

Help out in upstream projects (our dependencies) #1216

Closed
sharkdp opened this issue Oct 3, 2020 · 8 comments
Closed

Help out in upstream projects (our dependencies) #1216

sharkdp opened this issue Oct 3, 2020 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@sharkdp
Copy link
Owner

sharkdp commented Oct 3, 2020

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:

@sharkdp sharkdp added help wanted Extra attention is needed Hacktoberfest labels Oct 3, 2020
@sharkdp sharkdp pinned this issue Oct 3, 2020
@dancek
Copy link

dancek commented Oct 5, 2020

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

@sharkdp
Copy link
Owner Author

sharkdp commented Oct 5, 2020

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.

@pksunkara
Copy link

pksunkara commented Oct 11, 2020

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).

@keith-hall
Copy link
Collaborator

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:
#919

@keith-hall
Copy link
Collaborator

Wrong button, sorry about that!

@pksunkara
Copy link

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

@sharkdp
Copy link
Owner Author

sharkdp commented Oct 11, 2020

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

Yes, please. Thank you.

@sharkdp sharkdp unpinned this issue Jan 3, 2021
@sharkdp
Copy link
Owner Author

sharkdp commented Feb 7, 2022

I think this can be closed for now. We can open a new initiative like this next October.

@sharkdp sharkdp closed this as completed Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants