Hi, everyone!

I tried today to make my first contribution to Solr. I was targeting this
issue https://issues.apache.org/jira/browse/SOLR-15842 concerning
collection backup. I read all the contribution guides I found, but still
don't get a clear picture of the process.

I first made a detailed investigation of the problem and also wrote an
article explaining how the process is organized from the perspective of
code (you can check it here:
https://tyoma.hashnode.dev/code-anatomy-solr-collection-backup). I've added
a description of the root of the problem in the JIRA issue. Then I used the
GitHub way for contributing: create fork of the project, create feature
branch, test it locally, then create pull request. I can see that my PR is
now linked in the issue so it seems to work.

I'm not sure what the next steps are. Should I duplicate on dev mailing
list some info about the issue or further updates? I know there is an issue
concerning contribution https://issues.apache.org/jira/browse/SOLR-15682
but it seems that it is still on the way (maybe I can help with this after
I get enough understanding of it by myself)

Also couple of questions concerning the project build:

1. I'm using Eclipse IDE. Before importing the project, I applied gradle's
eclipse task to arrange project structure. It seems that generated eclipse
project properties have applied settings for Unused import to Error. This
leads to the situation that after importing a clean project it will contain
errors in Eclipse due to some classes having unused imports. Maybe we
should clean those classes or set loose an error type to Warning?

2. Tests. I tried to follow the contribution recommendations concerning
checks and tests before/after doing changes. But each time I run full tests
it takes about 2-4 hours to finish (yeah, I know my old good pal is not
that strong). But the most disappointing thing for me was that tests almost
always fail for me and... with different sets of errors. I'm still trying
to find the reesons, but if there is good practice on how to improve that
part I will greatly appreciate it.

Best regards,
Artem Abeleshev

Reply via email to