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
fix typos and some whitespace #4
Conversation
helix84
commented
Apr 20, 2012
- fixes typos almost exclusively in comments and strings
- fixes whitespace where combination of tabs and spaces may break indentation
- doesn't touch typos in config property names to prevent breakage
* fixes typos almost exclusively in comments and strings * fixes whitespace where combination of tabs and spaces may break indentation * doesn't touch typos in config property names to prevent breakage
Hi helix84, Wow. In one commit you've attempted to correct the horrible misspellings of years of bad spellers :) Still in the process of giving this a review (it's a large commit), but so far so good. Looks like the vast majority (99%) of changes are just to comments, which makes it a bit easier to skim through and approve. One tip for any future "pull requests" you submit: We recommend submitting the pull request from a branch that is not your "master". This one was submitted from your "master" branch. That's OK, as long as you don't commit anything else to your "master" branch until we accept this pull request (if you did commit something new, those commits would be auto-added to this pull request). For more info see: As I said though, so far this looks good. So, hopefully we can just get these spellings fixed once and for all. Thanks for the contribution! |
Finished my skim/review. This looks good. I'm going to create a JIRA ticket for it though. Even though it is just fixing typos, this fix is touching a large number of files. So, it'd be good for us to track this change in JIRA. But, I'll merge in this pull request shortly, after I link it up with JIRA, etc. Thanks again, helix84! Much appreciated. |
This work is now in JIRA as ticket DS-1158: Will merge this pull request into main codebase shortly & close the JIRA ticket. |
fix typos and some whitespace (also tracked in JIRA as DS-1158)
Yo man, not to put a damper on this, but I'm not the biggest fan of mass reformatting commits like this early in a development cycle. Its not the greatest having merge changes that are not actual code changes when your working on something more technical. In this regard, I've always aired on the side of accepting a little incorrectness in format as opposed to forcing significant line changes into everyone else's work. If anything, I would prefer to see reformatting commits happen just prior to the release. This said, I'm hoping git does do a better job on merging these non-code changes back upstream to forks. I will experiment a little on my branches and see how we fare. Also, I recommend that we take a position in the future that pull requests should be left open longer than 24 hours prior to being merged. It would give folks room to review the changes which means that if something is not agreeable, the original committer/merger does not have to go through the significant labor of unravelling the commit. (not that I'm going to reject this particular one) Finally, I'm not sure about "ordering" but if you take a pull request that was created "after" an "earlier" one does this create any issues with merging that earlier pull request? See... #3 |
Sorry, I had the opposite approach -- get this large thing in first, before we start doing much more development here in GitHub :) If you really need to "undo" this temporarily, then feel free (and reopen JIRA DS-1158). Sorry, this was just me wanting to get in this larger change now, before development for 3.0 really kicked into full gear. The ordering of pull requests doesn't matter -- they are always taken/merged against the latest "master". I'm cool with instituting at least a 24 hour review in future |
no sweat, its a good test of gits merge capabilities ;-) |
Ok... heres the pain point... we have some cases where windows lineffeds were introduced in this request. Likewise, I;ve shifted my approach and attempted to rebase and merge these changes into my local maven-project-consolidation branch. It is rather a pain, every file I've consolidated is requiring me to resolve the reformatting changes by hand. At least now I have uncovered the above issue in attempting the merge. <<<<<<< HEAD:dspace-sword-client/dspace-sword-client-xmlui-api/src/main/resources/aspects/SwordClient/sword.js
vs my local fork originally having /*
importClass(Packages.org.dspace.app.xmlui.utils.FlowscriptUtils); /**
I'm not sure if the file in DSpace/DSpace got windows linefeeds added to it or what... I really do not recommend developing DSpace on a windows machine, the pain points are immense and the OS in general is a pile of crap. Finally, Not to sound like a complainer... git does not remove the human need to visually merge conflicting changes, just as many conflicts do occur as compared to an svn merge, resolution is still in a local workspace and then needs to be commited/pushed into your own fork... its not all its cracked up to be... |
Sorry, I fear that might have sounded rude, helix84, thanks for your great work in cleaning things up, I think we are just learning to deal with change in git. I think I did complete a successful rebase of DSpace/DSpace/master into my maven-project-consolidation branch, but i did need to use git push --force to get it into my local fork in the end, not sure if that was the best approach. https://github.com/mdiggory/DSpace/tree/maven-project-consolidation Next exercise, I will attempt to setup a pull request for this to DSpace/DSpace/master. |
Sounds like we've hit the first example of "line endings" issues with Git/GitHub. I'll note that the Fedora Developers have developed their own Best Practices for line endings, to avoid these sort of issues. This may be something we need to look at adopting as well, and ensure that all "pull requests" are built using unix style line endings (even if the initial development took place on a Windows box). Take a look at the Fedora developers' "line ending" guidelines here: We should make sure we fix any improper line endings that accidentally got into the codebase (via a followup commit as needed, etc), or alternatively "undo" this commit and then redo it with proper line endings. I'm out-of-office this week, so I likely won't be able to look into this any further until next week. |
Anyone who has watched my patches will know that I don't mind a moderate amount of respelling/reformatting anytime, but I would probably have done this in a number of smaller pieces. That said, thanks for all the cleanups! |
Update submodule
[DS-1606] Bring dspace-solr up-to-date with current development environment
Restyling lookup submission jsp, fix bug to fill data authors in dto, mo...
fix typos and some whitespace (also tracked in JIRA as DS-1158)
[DS-1606] Bring dspace-solr up-to-date with current development environment
Restyling lookup submission jsp, fix bug to fill data authors in dto, mo...
pull latest changes from DSpace repo
Adding unit test for the date parser
These fixes make sense, merging, thanks for the help @pnbecker.
[DS-1814] remove deprecated ConfigurationManager in favour of Configu…
[DP-24] removed unecessary class from checkbox markup, see DS-3376
* commit 'b021f4eb1673a046ab6d7da2f6699a4e3af9d0aa': Added buildlive.properties
url correction
cleanup of Embargo, Tombstone and Request Copy.