Bug #861

more .hgignore fields

Added by Letto almost 9 years ago. Updated almost 9 years ago.

Status:Closed Start date:05/09/2010
Priority:Normal Due date:
Assignee:vl % Done:

100%

Category:-
Target version:Version 0.8.0

Description

after building nel i got a lot of files that hg wanted to track

i build nel with cmake like this
in code/nel
mkdir build
cd biuld
cmake -G "Unix Makefiles" ..
make

with this changes i finnaly managed to make hg quiet

also added vim and kdevelop fields

patch.diff (3.8 kB) Magnifier Letto, 05/09/2010 12:20 pm

History

#1 Updated by thorbjorn almost 9 years ago

Ignoring Makefile* is too broad, since that would also ignore the checked-in Makefile and Makefile.am files.

#2 Updated by Letto almost 9 years ago

I assume those are leftovers since this this project is going to cmake and all most other build filetypes are ignored.

#3 Updated by kaetemi almost 9 years ago

@thorbjorn: Files that are already checked in are not ignored, iirc.

#4 Updated by thorbjorn almost 9 years ago

They're not leftovers yet, since the switch to cmake is yet to be done. :-)

But yeah, the existing files would not be ignored. So assuming no new Makefile or Makefile.am files need to be added, I guess the ignore rule would be fine. But otherwise it would be a bit annoying/surprising for those adding such files.

#5 Updated by kaetemi almost 9 years ago

I think you can get around an ignore by using the add command directly.

#6 Updated by thorbjorn almost 9 years ago

Yes, it's just that you won't get any reminder that you need to add them.

#7 Updated by kervala almost 9 years ago

I will remove all "Makefile" (only them) from nel folder in a next commit :) Because they was used a long time ago before using autoconf/automake or CMake and these new build systems overwrite them. "Makefile.am" will be kept for the moment :)

#8 Updated by vl almost 9 years ago

  • Assignee set to vl

#9 Updated by vl almost 9 years ago

  • Status changed from New to Assigned

#10 Updated by Anonymous almost 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 70 to 100

Applied in changeset r47.

#11 Updated by kaetemi almost 9 years ago

.so will give problems with .sound files etc, though.

#12 Updated by vl almost 9 years ago

kaetemi wrote:

.so will give problems with .sound files etc, though.

True, can we have the list of .so* extension so we can be more precise?

#13 Updated by Letto almost 9 years ago

.so are linux ddls
replace it with
.so
.so.*

that's for files like
? code/nel/build/lib/libnelpacs.so
? code/nel/build/lib/libnelpacs.so.0.7.0

#14 Updated by Letto almost 9 years ago

i mean .so and *.so. but this board ate my *

#15 Updated by Letto almost 9 years ago

damn this thing is really retarded, it still misses a *

#16 Updated by vl almost 9 years ago

Applied in changeset r51.

#17 Updated by Letto almost 9 years ago

please also add *.so for files that end in .so

#18 Updated by vl almost 9 years ago

  • Target version set to Version 0.8.0

#19 Updated by vl almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF