| Summary: | Investigate and reconsider the use of .gitignore | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Maciej Bendkowski <maciej.bendkowski> |
| Component: | Server | Assignee: | Project Inbox <orion.server-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | john.arthorne, mamacdon, matthias.sohn |
| Version: | 4.0 | ||
| Target Milestone: | 4.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Maciej Bendkowski
We should have .gitignore in master. Otherwise everyone has to create and maintain it locally. Of course it should not be excluding things like .project so this is a bug in gitignore to fix (looks like it has been fixed already). (In reply to comment #1) > it should not be excluding things like .project so this is a bug in gitignore > to fix (looks like it has been fixed already). master still has the .project line in the top-level .gitignore, so I don't think this is fixed yet. (In reply to comment #2) > master still has the .project line in the top-level .gitignore, so I don't > think this is fixed yet. It even an empty .project file so I think we can get rid of it. My fix in http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=54adbcfa49208c45a87b7738c8a09116b8727dd7 did not delete this file, because I wanted to get confirmation, that this file is really unused before I delete it. (In reply to comment #3) > It even an empty .project file so I think we can get rid of it. > My fix in > http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/ > ?id=54adbcfa49208c45a87b7738c8a09116b8727dd7 did not delete this file, > because I wanted to get confirmation, that this file is really unused before > I delete it. Oops, I didn't realize we were talking about the server repository -- the client repo has a similar gitignore which also ignores Eclipse projects. These were added while fixing bug 399023. Maybe they are important for the Maven build? I don't know. (In reply to comment #4) > Oops, I didn't realize we were talking about the server repository -- the > client repo has a similar gitignore which also ignores Eclipse projects. > > These were added while fixing bug 399023. Maybe they are important for the > Maven build? I don't know. I don't think they matter for the maven build. I have fixed the client repository with the same fix that was made in the server repository. .project at the root of the repository is ignored, but not in sub-folders. Marking fixed, I think they are ok now. |