Skip to content
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

fixes(gitignore) #22 #31

Closed
wants to merge 1 commit into from
Closed

Conversation

xenoterracide
Copy link

add archives, windows, mac, linux, and nodeignore

add archives, windows, mac, linux, and nodeignore
@3cp
Copy link
Member

3cp commented May 22, 2020

Thx for the contribution, but pls do an audit first. You copied lots of entries irrelevant in the context of an Aurelia 2 project.

If you want to ignore all of them (regardless of Aurelia 2), pls add to your global gitignore file, as I suggested before.

Grunt, bower, jspm, 7z, iso, Next.js, Nuxt.js, Gatsby, vuepress, Serverless. Why?

# Windows Installer files

Why in an Aurelia 2 project gitignore?

And some feedback on mac related:

# Icon must end with two \r
 Icon

I believe most editors (including yours) will normalise line endings to \n, which makes that entry wrong. (BTW the Icon file might be some legacy stuff, because I am on mac for years, never had any need for that entry in my gitignore).

# Files that might appear in the root of a volume

Clearly they don't apply to a project folder.

# Directories potentially created on remote AFP share

Nobody uses AFP, it's deprecated for years.

@xenoterracide
Copy link
Author

xenoterracide commented May 22, 2020

I'll be honest I just copy pasta-ed, but for some of these, like 7z, and iso and other installer/compression formats. You have no idea how many times in a repo I'll do something like wget, and then forget to exclude, and then commit the thing. This is mostly because I'm never in the directory I think I am. So I'd recommend keeping these as archives are often expensive in the repo, and not everyone is like me and does squash merges, in a regular merge these files will stay around forever.

Grunt, bower, jspm, Next.js, Nuxt.js, Gatsby, vuepress, Serverless. Why?

I'll be honest, I have no idea what half of these are, but we could probably drop bower, isn't grunt like a task configuration thing? I don't care if we remove them, this is just part of the default node template.

Icon must end with two \r

afaik, the filename itself must end with 2 \r thanks mac for being weird. if you look at the file (presuming my copy went right, there should be a ^M at the end of Icon)

I can clean this stuff up though. Before I do what do you want to do about the archives/installers?

@3cp
Copy link
Member

3cp commented May 22, 2020

I would suggest you to use global gitignore, it's so much easier for your case like those zip files.
Add unfamiliar entries here is not going to work.

If you don't know grunt, the simple rule is don't add it.
vuepress and nuxt are Vue, Next.js is React. I don't want to go on to explain other entries...

I don't think this will work for you, because you started with a big copy/paste, and don't understand the content inside it.

@3cp 3cp closed this May 22, 2020
@xenoterracide
Copy link
Author

k, if you say so

@3cp
Copy link
Member

3cp commented May 22, 2020

Quite opposite, I am not the rude one.
I will be the rude one if I submit a PR with content I didn't bother to read or understand, and ask someone else to review it for me.
I think my reaction is rather gentle.

@xenoterracide
Copy link
Author

I read and understood 95% of it, I guess there are a couple of things I didn't clip that I knew weren't necessary, but the original discussion was to add the full templates. Just because I haven't/don't use a technology doesn't mean ignoring it isn't the right solution.

@3cp
Copy link
Member

3cp commented May 22, 2020

Why I want to ignore vue files in my au2 project folder?

@xenoterracide
Copy link
Author

I didn't say you would, but I asked what you wanted to do with archives before cleaning that up. That way I could make all the changes asked for at once. The rude thing here, is closing the PR without giving me a chance to clean up what you were asking for. I'm going to stop now though, this conversation doesn't seem like it can be productive at this point. you closed it, that's fine.

I only suggested this feature because of 2 things 1, I didn't actually know about global gitignore, I'm definitely going to add one soon, but 2, I REALLY do NOT TRUST me, or my COLLEAGUES not to commit things like Thumbs.db, zip files, log files, etc. I definitely don't expect them to have a smart global ignore.

@3cp
Copy link
Member

3cp commented May 22, 2020

When I offered my feedback because I thought you at least went through the content, you admit "just copy pasta-ed" and "have no idea what half of these" (these for grunt ... Serverless). That's where you turned me off.

You didn't bother to at least google the stuff you don't understand. Why should I be interested to be your human google?

The conversation could have been started much better if you highlighted few things you were not sure after some basic investigation.

The rude thing here, is closing the PR without giving me a chance to clean up what you were asking for.

You did not give yourself the chance. Is that few mins study (googling) too troublesome? Or you just want to "let me send the PR to see what happens"? How can you talk down your colleagues since you are careless?

1, I didn't actually know about global gitignore

#22 (comment)

I REALLY do NOT TRUST me, or my COLLEAGUES

Should I trust your work since you do not trust yourself? Nobody understands everything, nobody makes no mistake. But lack of basic effort would not work in any team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants