-
Notifications
You must be signed in to change notification settings - Fork 16
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
Sync docs and config between icedtea and github #1
Conversation
I think .hgignore should not be ignored because it is managed by mercurial in IcedTea. |
You should add .gitignore to IcedTea mercurial. |
Thanks comment! I think that maintainer try not to let the developers who use git bother about mercurial. |
Setting example for maintainer /workspace/heapstats% tree -L 1 -a
.
|-- .git
|-- .gitignore
|-- .hg
|-- .hgignore
|-- .hgtags
|-- AUTHORS
|-- CONTRIBUTING.md
|-- COPYING
|-- ChangeLog
|-- INSTALL
|-- Makefile.am
|-- Makefile.in
|-- NEWS
|-- README
|-- README.md -> README
|-- aclocal.m4
|-- agent
|-- analyzer
|-- configure
|-- configure.ac
|-- m4
|-- mbean
|-- pom.xml
\-- specs
7 directories, 17 files
/workspace/heapstats% hg status
M .hgignore
M README
A CONTRIBUTING.md
/workspace/heapstats% git status
On branch sync_configs
Your branch is up-to-date with 'origin/sync_configs'.
nothing to commit, working directory clean |
I think .hgignore and .gitignore should be managed by SCM. Currently, we manage same trunk source code at GitHub and IcedTea HG, and we should synchronize them each other. ignore files are managed at both SCM as material. If we update ignore entry, we have to update both files and they are should be managed. |
OK, your thought looks reasonable to me. Shall we create a symbolic link for .{git,hg}ignore ?
|
Okay if it is possible. For example, target directories in analyzer are NOT ignored at Git. HG ignores them. You have to check git status after build all make target. |
Good point! I create a symbolic link, .ignore, and update it to fill a gap between hg and git.
/workspace/heapstats% git status
On branch sync_configs
Your branch is up-to-date with 'origin/sync_configs'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
typechange: .gitignore
new file: .hgignore
new file: .hgtags
copied: .gitignore -> .ignore
/workspace/heapstats% hg status
M .hgignore
M README
A .gitignore
A .ignore
A CONTRIBUTING.md
/workspace/heapstats% tree analyzer/ -L 3
analyzer/
|-- cli
| |-- heapstats-cli
| |-- heapstats-cli.in
| |-- pom.xml
| |-- src
| | `-- main
| `-- target
| |-- archive-tmp
| |-- classes
| |-- generated-sources
| |-- heapstats-cli-2.0-bin
| |-- heapstats-cli-2.0-bin.zip
| |-- heapstats-cli.jar
| |-- maven-archiver
| `-- maven-status
|-- core
| |-- pom.xml
| |-- src
| | `-- main
| `-- target
| |-- classes
| |-- generated-sources
| |-- heapstats-core.jar
| |-- maven-archiver
| `-- maven-status
`-- fx
|-- THIRD_PARTY_README
|-- filterDefine.xsd
|-- heapstats.properties
|-- lib
| `-- jgraphx.jar
|-- nbactions.xml
|-- pom.xml
|-- src
| `-- main
`-- target
|-- archive-tmp
|-- classes
|-- generated-sources
|-- heapstats-analyzer-2.0-bin
|-- heapstats-analyzer-2.0-bin.zip
|-- heapstats-analyzer.jar
|-- maven-archiver
`-- maven-status
29 directories, 15 files |
Good! You can merge it! |
Thank for reviewing ! I will merge to here and icedtea :-) |
I will push .hgignore to icedtea for adding the below config.
Any thoughts?
P.S.
I will push docs, i.e., README and CONTRIBUTING.md as well.