Browse Source

Cleanup .gitignore files

Michał Kowalczyk 5 years ago
parent
commit
382a1ec394

+ 7 - 1
.gitignore

@@ -1,5 +1,11 @@
-/Runtime/
+# No editor backup files.
+*.sw*
+*.backup
 *~
+
+/Runtime/*
+!/Runtime/Makefile
+!/Runtime/pal_loader
 /Jenkinsfiles/Jenkinsfile-*
 /Jenkinsfiles/JenkinsfileSGX-*
 

+ 3 - 6
LibOS/.gitignore

@@ -1,8 +1,3 @@
-# no backup files
-*~
-*.sw*
-*.backup
-
 # source only please
 *.o
 *.so
@@ -10,4 +5,6 @@
 
 *cscope*
 
-glibc-*
+/glibc-*.tar.gz
+/glibc-*/
+/build.log

+ 0 - 2
LibOS/shim/include/.gitignore

@@ -1,2 +0,0 @@
-*~
-*.sw*

+ 1 - 1
LibOS/shim/src/.gitignore

@@ -1,3 +1,3 @@
-libsysdb.so.cached
+/libsysdb.so.cached
 /asm-offsets.h
 /generated-offsets.s

+ 11 - 11
LibOS/shim/test/apps/apache/.gitignore

@@ -1,11 +1,11 @@
-httpd-2.4.3/*
-result-*
-obj/*
-OUTPUT
-.libs/*
-apr-1.4.6/*
-apr-util-1.5.1/*
-php-5.6.6/*
-mod_auth_basic_sandbox.la
-mod_auth_basic_sandbox.lo
-mod_auth_basic_sandbox.slo
+/httpd-2.4.3/*
+/result-*
+/obj/*
+/OUTPUT
+/.libs/*
+/apr-1.4.6/*
+/apr-util-1.5.1/*
+/php-5.6.6/*
+/mod_auth_basic_sandbox.la
+/mod_auth_basic_sandbox.lo
+/mod_auth_basic_sandbox.slo

+ 2 - 2
LibOS/shim/test/apps/bash/.gitignore

@@ -1,2 +1,2 @@
-OUTPUT
-testdir/x
+/OUTPUT
+/testdir/x

+ 3 - 3
LibOS/shim/test/apps/gcc/.gitignore

@@ -1,3 +1,3 @@
-bzip2
-gzip
-hello
+/test_files/bzip2
+/test_files/gzip
+/test_files/hello

+ 10 - 8
LibOS/shim/test/apps/lighttpd/.gitignore

@@ -1,8 +1,10 @@
-ab.*
-result-*
-OUTPUT
-build
-html
-lighttpd-*
-lighttpd.conf
-server.pem
+/ab.*
+/result-*
+/OUTPUT
+/build/
+/html/
+/lighttpd.conf
+/lighttpd-*.conf
+/lighttpd-*/
+/server.pem
+/dhparam.pem

+ 1 - 1
LibOS/shim/test/apps/lmbench/.gitignore

@@ -1 +1 @@
-lmbench-2.5/bin
+/lmbench-2.5/bin/

+ 8 - 9
LibOS/shim/test/apps/ltp/.gitignore

@@ -1,9 +1,8 @@
-Broken.csv
-Failed.csv
-Passed.csv
-ltp-master/
-master.zip
-opt/
-run_output
-syscalls.graphene
-ltp-full-*
+/Broken.csv
+/Failed.csv
+/Passed.csv
+/opt/
+/run_output
+/syscalls.graphene
+/ltp-full-*.tar.xz
+/ltp-full-*/

+ 4 - 2
LibOS/shim/test/apps/openjdk/.gitignore

@@ -1,4 +1,6 @@
-openjdk-*
-openjdk-*-jre
+/openjdk-*/
+/openjdk-*-jre/
 *.tar.bz2
 *.class
+/pal_loader
+/jdk-*/

+ 1 - 1
LibOS/shim/test/apps/python/.gitignore

@@ -1,2 +1,2 @@
 *.pyc
-benchmarks
+/benchmarks/

+ 3 - 0
LibOS/shim/test/inline/.gitignore

@@ -1,5 +1,8 @@
 *
+!.gitignore
 !*.c
 !*.cpp
+!*.py
+!*.sh
 !*.template
 !Makefile*

+ 3 - 0
LibOS/shim/test/native/.gitignore

@@ -1,5 +1,8 @@
 *
+!.gitignore
 !*.c
 !*.cpp
+!*.py
+!*.sh
 !*.template
 !Makefile*

+ 3 - 1
LibOS/shim/test/regression/.gitignore

@@ -1,6 +1,8 @@
 *
+!.gitignore
 !*.c
 !*.cpp
+!*.py
+!*.sh
 !*.template
 !Makefile*
-!*.py

+ 0 - 4
Pal/.gitignore

@@ -1,10 +1,6 @@
 *.o
-libpal.a.backup
-libpal.so.backup
 cscope*
 *.a
 *.so
 *.run
-*.sw*
-*~
 .nfs*

+ 4 - 3
Pal/ipc/linux/.gitignore

@@ -2,6 +2,7 @@
 *.o
 *.cmd
 *.mod.c
-Module.symvers
-modules.order
-.tmp_versions
+/Module.symvers
+/modules.order
+/.tmp_versions/
+/graphene-ipc.o.*

+ 4 - 0
Pal/regression/.gitignore

@@ -1,4 +1,8 @@
 *
+!.gitignore
 !*.c
+!*.cpp
+!*.py
+!*.sh
 !*.template
 !Makefile*

+ 3 - 3
Pal/src/.gitignore

@@ -2,6 +2,6 @@
 *.o
 *.so
 *.a
-pal
-pal_sec
-Makefile.Status
+/pal
+/pal_sec
+/Makefile.Status

+ 4 - 0
Pal/test/.gitignore

@@ -1,4 +1,8 @@
 *
+!.gitignore
 !*.c
+!*.cpp
+!*.py
+!*.sh
 !*.template
 !Makefile*