-
Notifications
You must be signed in to change notification settings - Fork 83
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
Untrack ignored files #165
base: master
Are you sure you want to change the base?
Conversation
Ignore OS, Editor and Program specific files and directories. close #149 Ignore OSes - windows - linux - osx Ignore Editors - webstorm - komodoedit - eclipse - emacs - slickedit - notepadpp - netbeans - kate - cloud9 - anjuta - dreamweaver - textmate - espresso - visualstudio - visualstudiocode - vim - sublimetext Ignore Programs - vagrant - tortoisegit - node GitIgnore.io API URL: https://www.gitignore.io/api/windows,linux,osx,webstorm,komodoedit,eclipse,emacs,slickedit,notepadpp,netbeans,kate,cloud9,anjuta,dreamweaver,textmate,espresso,visualstudio,visualstudiocode,vim,sublimetext,vagrant,tortoisegit,node
- Remove README.md files used for keeping directory close #164
@dcsan you can merge it after updating the wiki generation codes. |
i see #163 as well as this PR. are they going to conflict with each other? |
@dcsan no. I merged the #163 to this already before. So I guess, no conflicts. You can either merge the #163 and modify the update codes and later merge this PR.
|
@dcsan #165 merges #163 and deletes some of the auto-generated or unwanted repo files which were ignored in You can add my remote repo and checkout the git ls-files --ignored --exclude-standard | less or run the following command to see which files are ignored other than the git ls-files --ignored --exclude-standard | egrep --invert-match 'node_modules|data/wiki/' | less |
i'm sorry but what does this risk and changing my whole deployment setup actually benefit? |
@dcsan well, that's the whole thing. Removing I believe this merge won't break things. If anything happens, you can |
i cant ignore the data/wiki also the did you test it out from a clean repo and try those commands? i see not much benefit and it could waste hours debugging, so ... |
@dcsan yes. the |
@dcsan the |
The demo bot fails. 👎 with |
there are 30 comments and two PRs here and the actual benefit to the project is questionable - changing a .gitignore? i think you should review this process.
|
What is the process by which the wiki files are created? |
https://github.com/dcsan/gitterbot/blob/master/nap/bin/wiki-update.sh bin/wiki-update.sh adds them to the main repo from the git submodule, but i usually run that locally before a deploy. when anyone does an https://github.com/dcsan/gitterbot/blob/master/nap/bin/deploy.sh aims to wipe all that out before deploying. bit complicated but the best way to keep things in sync. |
@dcsan what about using I tested it successfully locally. But there is a problem. Whenever the submodule is updated, the main repo tracks it. The submodule can't be |
ok so there's a problem, right? submodules are a PITA to deal with, but the only option here where we need to track two repos. given you're on windows, anything that works for you may or may not work for me, so ... again not sure what the benefit of opening this can of worms is? esp since you point out it doesn't work. |
@dcsan For the record, I test both on my local windows machine and C9 ubuntu. |
Why not completely unlink the wiki repo from this repo entirely? What I'm thinking is that as part of the deploy process you could instead clone the wiki repo into the wiki folder and/or do a 'pull' into the wiki folder. I find it a little odd that we're basically importing/updating this repo with the contents of the other repo. It means we have duplicated content between the repos. Instead, lets treat the FCC wiki as the "master" copy, and just pull clones to where we need them, in exactly the same way that we use npm install and bower install to pull down those dependancies. The node_modules and bower_components folder should be part of this repo either for the same reason - they're not "mastered" here, they're just included. It does mean one more step for an install, and it does mean that the initial deploy will need to have an npm install/bower install as well, but unless you're updating package versions all the time, that's not a big deal either. |
@SaintPeter But it can be made a |
- Add semicolons at end of statements
Ignore OS, Editor and Program specific files and directories. close #149 Ignore OSes - windows - linux - osx Ignore Editors - webstorm - komodoedit - eclipse - emacs - slickedit - notepadpp - netbeans - kate - cloud9 - anjuta - dreamweaver - textmate - espresso - visualstudio - visualstudiocode - vim - sublimetext Ignore Programs - vagrant - tortoisegit - node GitIgnore.io API URL: https://www.gitignore.io/api/windows,linux,osx,webstorm,komodoedit,eclipse,emacs,slickedit,notepadpp,netbeans,kate,cloud9,anjuta,dreamweaver,textmate,espresso,visualstudio,visualstudiocode,vim,sublimetext,vagrant,tortoisegit,node
- Remove README.md files used for keeping directory close #164
…to untrack-ignored
Tested OK 👌 👍 Joining 400+ Rooms
Joined 400+ Chat Rooms. Demo P.S. Test it yourself. (sometimes got Permission Denied Error) While deploying,
Important: Required Update to |
- Append chat room channel names to chat room name
.gitkeep
files to keep empty directories in repo.node_modules
directories.close #164