osmo-ttcn3-hacks[master]: Ignore symlinks and build byproducts

2018-02-19 Thread Harald Welte

Patch Set 3:

Sorry, this is clearly not the right approach.

-- 
To view, visit https://gerrit.osmocom.org/6285
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia200e7e8e891256f0ffe43910061697769841f91
Gerrit-PatchSet: 3
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: dexter 
Gerrit-HasComments: No


osmo-ttcn3-hacks[master]: Ignore symlinks and build byproducts

2018-02-12 Thread Max

Patch Set 3:

I've tried to use global gitignore but it quickly turned out into unreadable 
mess full of exceptions interspersed with patters. Proposed variant is much 
more concise yet it covers most of currently visible output of 'git status'.

-- 
To view, visit https://gerrit.osmocom.org/6285
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia200e7e8e891256f0ffe43910061697769841f91
Gerrit-PatchSet: 3
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max 
Gerrit-Reviewer: dexter 
Gerrit-HasComments: No


[PATCH] osmo-ttcn3-hacks[master]: Ignore symlinks and build byproducts

2018-02-12 Thread Max
Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/6285

to look at the new patch set (#3).

Ignore symlinks and build byproducts

Using per-directory gitignore allows to use simpler
exclude patters with fewer exceptions.

Change-Id: Ia200e7e8e891256f0ffe43910061697769841f91
---
M .gitignore
A bin/.gitignore
A bsc-nat/.gitignore
A bsc/.gitignore
A ggsn_tests/.gitignore
A gprs_gb/.gitignore
A lapdm/.gitignore
A mgw/.gitignore
A msc/.gitignore
A selftest/.gitignore
A sysinfo/.gitignore
11 files changed, 87 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/85/6285/3

diff --git a/.gitignore b/.gitignore
index d8c3ab3..5e9d90b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,11 @@
-bin/*.cc
-bin/*.hh
 deps/*/
 *.o
 *.log
 *.so
+*.y
+*.l
 compile
+Test
+*_Definitions.ttcn
+IPL4asp_*
+*_ConnectionHandler
\ No newline at end of file
diff --git a/bin/.gitignore b/bin/.gitignore
new file mode 100644
index 000..9ff9411
--- /dev/null
+++ b/bin/.gitignore
@@ -0,0 +1,4 @@
+*.cc
+!SCTPasp_PT.cc
+*.hh
+!SCTPasp_PT.hh
diff --git a/bsc-nat/.gitignore b/bsc-nat/.gitignore
new file mode 100644
index 000..485982e
--- /dev/null
+++ b/bsc-nat/.gitignore
@@ -0,0 +1,11 @@
+*.cc
+*.hh
+*.c
+*.h
+*_Types.ttcn
+*_Functions.ttcn
+*Port*.ttcn
+*_Emulation.ttcn
+*_Templates.ttcn
+*_Mapping.ttcn*
+Makefile
diff --git a/bsc/.gitignore b/bsc/.gitignore
new file mode 100644
index 000..eff3b4e
--- /dev/null
+++ b/bsc/.gitignore
@@ -0,0 +1,11 @@
+*.cc
+*.hh
+*.c
+*.h
+*_Types.ttcn
+*Port*.ttcn
+*_Functions.ttcn
+*_Emulation.ttcn
+*_Templates.ttcn
+*_Mapping.ttcn*
+Makefile
diff --git a/ggsn_tests/.gitignore b/ggsn_tests/.gitignore
new file mode 100644
index 000..5c5565e
--- /dev/null
+++ b/ggsn_tests/.gitignore
@@ -0,0 +1,7 @@
+*.cc
+!GTP_CodecPort_CtrlFunctDef.cc
+*.hh
+*.h
+*_Types.ttcn
+*_Functions.ttcn
+Makefile
diff --git a/gprs_gb/.gitignore b/gprs_gb/.gitignore
new file mode 100644
index 000..b7f4470
--- /dev/null
+++ b/gprs_gb/.gitignore
@@ -0,0 +1,6 @@
+*.cc
+!BSSGP_Helper.cc
+!NS_CodecPort_CtrlFunctDef.cc
+*.hh
+*.h
+*_PortType.ttcn
diff --git a/lapdm/.gitignore b/lapdm/.gitignore
new file mode 100644
index 000..fbfd979
--- /dev/null
+++ b/lapdm/.gitignore
@@ -0,0 +1,4 @@
+*.cc
+*.hh
+*_Types.ttcn
+*Port*.ttcn
diff --git a/mgw/.gitignore b/mgw/.gitignore
new file mode 100644
index 000..50cad03
--- /dev/null
+++ b/mgw/.gitignore
@@ -0,0 +1,8 @@
+*.cc
+!RTP_CodecPort_CtrlFunctDef.cc
+*.hh
+*.c
+*.h
+*_Types.ttcn
+*_Functions.ttcn
+Makefile
diff --git a/msc/.gitignore b/msc/.gitignore
new file mode 100644
index 000..eff3b4e
--- /dev/null
+++ b/msc/.gitignore
@@ -0,0 +1,11 @@
+*.cc
+*.hh
+*.c
+*.h
+*_Types.ttcn
+*Port*.ttcn
+*_Functions.ttcn
+*_Emulation.ttcn
+*_Templates.ttcn
+*_Mapping.ttcn*
+Makefile
diff --git a/selftest/.gitignore b/selftest/.gitignore
new file mode 100644
index 000..eff3b4e
--- /dev/null
+++ b/selftest/.gitignore
@@ -0,0 +1,11 @@
+*.cc
+*.hh
+*.c
+*.h
+*_Types.ttcn
+*Port*.ttcn
+*_Functions.ttcn
+*_Emulation.ttcn
+*_Templates.ttcn
+*_Mapping.ttcn*
+Makefile
diff --git a/sysinfo/.gitignore b/sysinfo/.gitignore
new file mode 100644
index 000..2f24836
--- /dev/null
+++ b/sysinfo/.gitignore
@@ -0,0 +1,8 @@
+*.cc
+*.hh
+*.c
+*.h
+*_Types.ttcn
+*Port*.ttcn
+*_Functions.ttcn
+Makefile

-- 
To view, visit https://gerrit.osmocom.org/6285
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia200e7e8e891256f0ffe43910061697769841f91
Gerrit-PatchSet: 3
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max 
Gerrit-Reviewer: dexter