Compare commits
81 Commits
Author | SHA1 | Date | |
---|---|---|---|
6f3a997762 | |||
d54b6da3c5 | |||
27fdf1c51c | |||
43e81f7d37 | |||
da069ba4ea | |||
1fc3c49288 | |||
3f9bb85be9 | |||
951c42123d | |||
7abf1ddefe | |||
8888fcd395 | |||
a481f892b6 | |||
db5e5f9ecc | |||
215863270c | |||
cfc571f591 | |||
1953ead089 | |||
4a9818c0fb | |||
904024453f | |||
fa2a3e336e
|
|||
0cd48239af | |||
41e59fceb0 | |||
12e266fbdf | |||
1ebe2a16b9 | |||
d6d86bd5f1 | |||
d9b5661a0f | |||
baf0dba915 | |||
2e0e69d3ec | |||
79564c1eff | |||
d25dda1187 | |||
b926387993 | |||
9034218e2d | |||
8b8ba69a92 | |||
c2206fdb49 | |||
0f5fbb497c | |||
4377307430 | |||
4f660ee640 | |||
57dd5a5364 | |||
d806c84f95 | |||
520daa4d0c | |||
d8ec03f03f | |||
34d3201a29 | |||
242de9080f | |||
4c219d4aad | |||
020e8eb32b | |||
717239b1e6 | |||
4cf3a97576 | |||
fc69c5259f | |||
08a7586026 | |||
98a1322722 | |||
32720ad250 | |||
77045d85c0 | |||
4384d17c80 | |||
467cdeee18 | |||
503a8a5f19 | |||
b82c876ece | |||
5257ec6b2b | |||
4fe11fae51 | |||
0133e505a1 | |||
52b5e76257 | |||
90e66b5be6 | |||
0a16863267 | |||
62b617e136 | |||
835cbeae0b | |||
423c0bec8a | |||
a6cec85e46 | |||
8592f044d8 | |||
36894ae00b | |||
9519a6555e | |||
28f597898e | |||
3643c06c19 | |||
98a69bc779 | |||
14b49b4b21 | |||
a08d654c26 | |||
101d6b8071 | |||
4371fdd8f1 | |||
f821294816 | |||
a06c333894 | |||
bddb6a1a84 | |||
8dea72e22b | |||
10f95e328a | |||
fcd6301141 | |||
bfff914e1d |
@@ -11,10 +11,8 @@ if [ -z $IFS ]; then
|
|||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
GIT_UPDATE_LOG=/opt/app/tools/atbupdate/update_log.csv
|
GIT_UPDATE_LOG=/opt/app/tools/atbupdate/update_log.csv
|
||||||
|
|
||||||
|
|
||||||
#TODO: use in UpdateController
|
#TODO: use in UpdateController
|
||||||
|
|
||||||
get_blob () { # get the blob of the file(name) passed as $1
|
get_blob () { # get the blob of the file(name) passed as $1
|
||||||
@@ -29,7 +27,6 @@ get_commit_for_blob () {
|
|||||||
grep -q $1 && echo -n {} && head -n 1")
|
grep -q $1 && echo -n {} && head -n 1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
write_log_file () {
|
write_log_file () {
|
||||||
local now=$(date +"%Y-%m-%dT%T")
|
local now=$(date +"%Y-%m-%dT%T")
|
||||||
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
||||||
|
35
.gitignore
vendored
35
.gitignore
vendored
@@ -1,27 +1,16 @@
|
|||||||
# First, ignore everything
|
|
||||||
*
|
*
|
||||||
# Now, whitelist anything that's a directory
|
|
||||||
!*/
|
|
||||||
# And all the file types you're interested in
|
|
||||||
!.gitignore
|
|
||||||
!.githooks/post-merge
|
|
||||||
!.githooks/post-checkout
|
|
||||||
!**/.gitignore
|
|
||||||
!**/.githooks/post-merge
|
|
||||||
!**/.githooks/post-checkout
|
|
||||||
|
|
||||||
## Except
|
## Except
|
||||||
!etc/atb/*
|
!**/.gitignore
|
||||||
!etc/psa_config/*
|
!**/.githooks/post-merge
|
||||||
!etc/psa_update/*
|
!/etc/*.ini
|
||||||
!etc/psa_tariff/*
|
!/etc/atb/*.ini
|
||||||
!etc/dc/*.hex
|
!/etc/psa_config/*
|
||||||
!etc/dc/*.bin
|
!/etc/psa_update/*
|
||||||
!*/etc/*.ini
|
!/etc/psa_tariff/*
|
||||||
!*/etc/atb/*
|
!/etc/dc/dc2c.hex
|
||||||
!*/etc/psa_config/*
|
|
||||||
!*/etc/psa_update/*
|
!/opt/app/ATBAPP/*.ini
|
||||||
!*/etc/psa_tariff/*
|
!/opt/app/sysconfig/*.ini
|
||||||
!*/etc/dc/*.hex
|
!/opt/app/ISMASMgr/*.ini
|
||||||
!*/etc/dc/*.bin
|
|
||||||
|
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user