-
Notifications
You must be signed in to change notification settings - Fork 249
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
Add external actvities feature #626
base: master
Are you sure you want to change the base?
Add external actvities feature #626
Conversation
This looks very interesting, but it needs some polish. Please provide more expressive commit summaries and (at least for the non-trivial commits) descriptions of what you did, why, and how. For example, you shouldn't have three commits with the same summary |
3e56082
to
a085949
Compare
Take a look now. If there is a need to add more descriptive commit messages, please point direct commit and add example (how the commit message should look like). |
Sorry, you got me wrong. The summary (first line of the commit) should give the reader a clear idea what the commit is about. Now all your commits have the same summary, which leaves the reader completely clueless about the content of the commit unless he reads the details. Think of the summary lines as the headings. People will use You're right, there is no explicit section about this in the contributing guide. Actually there's no common rule set that the hamster maintainers adhere to. Look at past commits to get an idea how others did it (well: hamster has had a very terse commit message style for a long time, which I personally don't like too much, so try to be better than the average hamster commit message 😄) There are lots of general tutorials on how to write useful git commit messages on the web, e.g. here, here, or here, or the famous kernel guide Submitting Patches. |
Sorry, but no.
All commits are about "External activities". In my opinion, it's clear idea what the commit is about
That is why I added a description in each commit after the second line.
That person will look for whole commit message (using I don't want to argue (I also don't have time for that). I thought that pull requests should check your code, not commit messages (mostly). |
It has to be the first line. Check the references I provided. The use of the summary line is almost a universal convention.
How do you know how other people work? I, for one, see 12x "External activitities" above, and that doesn't tell me anything about the commits unless I open every single one. I won't start a code review on a series like that. Also, I wouldn't want to see the same summary line 12x in a row in the commit history of the master branch. I'm pretty sure my fellow maintainers wouldn't, either. "External activities" is the main title of the series and the PR, and that's where it belongs. (Btw, that title could be more descriptive too, e.g. "Add support for importing and exporting activities from Jira").
I have better uses for my time as well. I'm not bickering, I'm just telling you what needs to be done to get this merged. Work on comments and commit messages is just as important as work on the code itself. I know it can be frustrating because it takes a lot of extra time, but if you want to collaborate, it's a must. If you can't be bothered with that, fine with me, but don't expect this to be merged.
That won't work. This series adds almost 1700 LoC. It has to be split in into meaningful pieces that can be reviewed separately. You can squash trivial commits like empty line removal into others, but keep the important ones separate. |
(still need to be finished, WIP)
- exported flag into overview window - added export feature from overview window - exporting worklogs to jira (only finished activities) - added few shortcuts
Show error message when jira module isn't installed and external source is active
.. to be more descriptive
Added possibility to export activities to external source using command line
43e9fef
to
fea02f6
Compare
- fix errors from pango when activity contains & sign - bolding matching text with ignore case
- (jira) it loads only activities specified by default jira query - loading occurs on popup show
each of word must exists in suggested entry
@gsobczyk, it looks like you made a big effort to implement this and I'm happy that you want to contribute it, but in the current state, it seems unlikely that it will be merged. It is a big contribution with a lot of changes and commits, which takes quite some effort to review, polish and getting ready to merge. I personally probably won't be able to find the time in the first place, and if the commits themselves are not nicely separated and do not have verbose commit messages that help me understand what's happening, then review will be even more work and I'll be less motivated to free up time for this. However, I do not want to invalidate your effort by ignoring or closing this, so I'm wondering how we can move this forward. Maybe you could tell us a bit more about how you designed this feature, both in terms of how it would work for the user, and how it works in technical terms? I.e. things like when are such external activitities imported (automatically, or manually?), are they copied into the local database or used as "virtual" facts, how do you configure the import sources, etc.? |
(In reply to #493)
I've made some changes to hamster in my own repository:
My TODO list for external activities feature:
export to jira item in menu- there is no needzsh completion (WIP)- maybe in future