Files
2012-02-21 01:15:00 -05:00

1 line
4.9 KiB
JSON

[{"user_id": 2588, "stars": [], "topic_id": 20874, "date_created": 1303498516.1191111, "message": "Is it considered bad form or is it a welcome convenience if OSS Git repos include a .gitignore file?", "group_id": 106, "id": 783998}, {"user_id": 2588, "stars": [], "topic_id": 20874, "date_created": 1303498872.280658, "message": "I would...", "group_id": 106, "id": 784064}, {"user_id": 1736, "stars": [], "topic_id": 20874, "date_created": 1303498816.564687, "message": "Why wouldn't you?", "group_id": 106, "id": 784055}, {"user_id": 2588, "stars": [], "topic_id": 20874, "date_created": 1303498912.4066949, "message": "I could see people getting annoyed that you're \"dictating what files are visible\" to git", "group_id": 106, "id": 784087}, {"user_id": 30644, "stars": [], "topic_id": 20874, "date_created": 1303499328.622463, "message": "Include it, you're only dictating what should be included in your created OSS software repository, if they don't like it they can make a branch :). Besides which, it would be worse to assume certain things are in the global gitignore, IMO.", "group_id": 106, "id": 784150}, {"user_id": 1736, "stars": [], "topic_id": 20874, "date_created": 1303499452.0252981, "message": "Yeah, you can always override locally in .git/ignore anyway", "group_id": 106, "id": 784159}, {"user_id": 1767, "stars": [], "topic_id": 20874, "date_created": 1303585119.706049, "message": "I think it's a bad habit to ignore IDE or tool specific files in an OSS project. People are usually free to choose their IDE and you can never include all of them in your .gitignore. Just as including IDE specific files in your repository. ;)", "group_id": 106, "id": 790592}, {"user_id": 8391, "stars": [], "topic_id": 20874, "date_created": 1303585953.0315161, "message": "I include them.", "group_id": 106, "id": 790638}, {"user_id": 1736, "stars": [], "topic_id": 20874, "date_created": 1303586362.3012691, "message": "@koraktor If your repo is in git, then they have to use git somewhere to get at it. Better to have a .gitignore that they can convert to their preferred tool. IDE files are a bit harder of a call. I don't usually bother checking in my .sublimeproject files since \"remaking them\" consists of opening the folder, but I could see an argument for pydev projects or similar.", "group_id": 106, "id": 790662}, {"user_id": 960, "stars": [{"date_created": 1304542553.86061, "user_id": 15793}], "topic_id": 20874, "date_created": 1303698891.8820591, "message": "I say include them. There's no need to include cruft in the repo and it's your project. If most of the devs are using Vim, ignoring `.*.sw[po]` files makes the dev's life easier.", "group_id": 106, "id": 798204}, {"user_id": 6836, "stars": [], "topic_id": 20874, "date_created": 1303716448.6411691, "message": "If you use an IDE that clutters project directories, please put the pattern for the IDE's files in your global excludesfile so every project doesn't have to! That should really include vim and emacs swap/backup files too IMO (in my work environment, it does).", "group_id": 106, "id": 800743}, {"user_id": 28370, "stars": [{"date_created": 1303822534.112222, "user_id": 16058}, {"date_created": 1304542567.85267, "user_id": 15793}], "topic_id": 20874, "date_created": 1303720686.8897409, "message": "I say make liberal use of both repo and global .gitignores. Put stuff you don't expect others to generate during normal use of your code in the global, and things you do expect to be generated (config files with passwords, for example) in the repo file. There's a nice list of stuff over at http://help.github.com/git-ignore/", "group_id": 106, "id": 801179}, {"user_id": 6894, "stars": [{"date_created": 1303747869.726135, "user_id": 1516}, {"date_created": 1303822538.2965889, "user_id": 16058}, {"date_created": 1303829261.7611721, "user_id": 19952}, {"date_created": 1303830987.0652919, "user_id": 13919}, {"date_created": 1303836912.8233371, "user_id": 28560}, {"date_created": 1303924188.7312009, "user_id": 3}, {"date_created": 1304112513.9367139, "user_id": 12202}, {"date_created": 1307510822.020468, "user_id": 20967}, {"date_created": 1308572029.4835711, "user_id": 36549}], "topic_id": 20874, "date_created": 1303726724.5610681, "message": "Put project-specific stuff (.pyc, .so, etc) in your OSS project's .gitignore, but put developer-specific stuff (like IDE .project files etc) in your ~/.gitignore. That way you'll keep your repo looking tidy for others and you wont end up cluttering your project/.gitignore with crap that doesn't matter to devs using a different IDE", "group_id": 106, "id": 802248}, {"user_id": 27815, "stars": [{"date_created": 1304542575.472698, "user_id": 15793}], "topic_id": 20874, "date_created": 1303830817.7269559, "message": "I include my .gitignore. I see it as the projects rule for which file types to not add or commit. However, I wish it could be a white list instead of a black list.", "group_id": 106, "id": 815466}]