51 Commits

Author SHA1 Message Date
16674d6567 testing 2023-03-27 14:38:34 +02:00
a252de6aaf testing 2023-03-27 13:34:25 +02:00
c918b8bc31 removed tariff file from psa_conf 2023-03-27 13:16:55 +02:00
8da918d63f testing 2023-03-27 13:07:20 +02:00
dcbe9e0d6e testing 2023-03-27 12:59:49 +02:00
71e1ec3182 testing 2023-03-27 12:38:25 +02:00
89cf8a1e79 fixed regex 2023-03-27 12:32:11 +02:00
406bacd457 add 2023-03-27 12:27:29 +02:00
7297664d07 add 2023-03-27 12:18:41 +02:00
78022aa994 add 2023-03-27 12:13:33 +02:00
2ccd4fafdd remove UpdateController 2023-03-27 11:43:19 +02:00
38b3269561 ignore UpdateController 2023-03-27 11:31:27 +02:00
fb2280a930 remove home 2023-03-27 11:27:01 +02:00
0be420c427 testing 2023-03-27 11:26:18 +02:00
b3d78869bf testing 2022-06-09 16:15:28 +02:00
cc2bc90f74 1111 2023-03-27 11:19:04 +02:00
b38bb6367a zzzz 2023-03-27 11:11:16 +02:00
0949c38858 yyyy 2023-03-27 10:23:40 +02:00
38535efffa xxxx 2023-03-27 10:17:35 +02:00
ce3cce79b1 wwww 2023-03-27 10:13:01 +02:00
524db69b3e test 2022-06-09 15:01:47 +02:00
bee397d008 test 2022-06-09 14:55:32 +02:00
fc122481df remove home directory 2022-06-09 14:54:47 +02:00
14c009c8f8 add hooks dir 2022-06-09 14:49:32 +02:00
c35876a9cd ssss 2022-06-09 14:44:44 +02:00
bc3de60504 rrrr 2022-06-09 14:41:27 +02:00
d756a3ffa9 qqqq 2022-06-09 14:38:37 +02:00
8b0927a176 pppp 2022-06-09 14:37:16 +02:00
944bff4904 oooo 2022-06-09 14:34:07 +02:00
e94b285c24 nnnn 2022-06-09 14:31:32 +02:00
a2c88090f8 mmmm 2022-06-09 14:26:07 +02:00
daf3a9f2bc kkkk 2022-06-09 14:23:20 +02:00
4e63ee2b43 delete files 2023-03-27 09:28:40 +02:00
2664052c22 test 2022-06-09 14:17:52 +02:00
91f5d67738 remove 2022-06-09 14:17:18 +02:00
69bc12addc Add tariff-files 2022-06-09 14:12:27 +02:00
1218e732b3 test 2023-03-27 09:16:32 +02:00
cee2491e03 test 2022-06-09 14:06:22 +02:00
a90d5da27f githooks 2022-06-09 14:02:32 +02:00
beb516a279 test 2023-03-27 09:09:16 +02:00
57a16178e6 test 2023-03-27 09:07:28 +02:00
1337aabdff test 2023-03-27 09:06:39 +02:00
41e02f0887 test 2022-06-09 13:50:23 +02:00
969aeea3fc test 2022-06-09 13:48:46 +02:00
0cecfe6a91 add post-merge 2022-06-09 13:42:32 +02:00
ec2af2186a Add .gitignore 2022-06-09 13:27:54 +02:00
8f1ab0d7d0 Add .gitignore 2022-06-09 13:27:31 +02:00
dd73ab6511 bbbb 2023-03-27 08:32:03 +02:00
a6a196ada3 add test file 2023-03-27 08:28:22 +02:00
fa46f23ade add gitignore 2023-03-27 08:27:34 +02:00
0f113cb549 add .gitignore 2023-03-27 08:25:20 +02:00
9 changed files with 46 additions and 6062 deletions

32
.githooks/post-merge Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash -
# FILE="/tmp/post-merge$(date +%FT%H-%M-%S)"
# commit=$(git rev-parse --verify HEAD)
# echo "$commit $(git cat-file commit $commit)" >> /tmp/post-merge
# Redirect output to stderr.
exec 1>&2
if [ -z $IFS ]; then
IFS=$'\n'
fi
GIT_PULL_TMP=/tmp/git_pull
OPKG_CMDS_TMP=/tmp/opkg_commands
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q "(DC.*json|dc2c.hex|tariff.*json)" <<< $fn; then
echo "$fn" >> $GIT_PULL_TMP
fi
if grep -E -q ".*opkg_commands" <<< $fn; then
readarray opkg_commands < <(cat $fn)
for opkg_c in "${opkg_commands[@]}"; do
test -z $opkg_c && continue;
test ! -z $(grep -E "^\s*[#]+.*$" <<< $opkg_c) && continue
echo -n "$opkg_c" | tr -d '\n\r' >> $OPKG_CMDS_TMP 2>&1
echo "" >> $OPKG_CMDS_TMP 2>&1
done
source "$fn"
fi
done

View File

@@ -1,6 +1,8 @@
*
## Except
!**/.gitignore
!**/.git/hooks/*
!/etc/*.ini
!/etc/atb/*.ini
!/etc/psa_config/*
@@ -12,3 +14,5 @@
!/opt/app/sysconfig/*.ini
!/opt/app/ISMASMgr/*.ini
!**/.githooks/post-merge

View File

@@ -1,5 +1,5 @@
{
"title":"DC2C_pri30",
"version":"27.02.2023 12:20 00001",
"":""
}
"":"7777"
}

View File

@@ -1,5 +1,5 @@
{
"title":"DC2C_pri31",
"version":"27.02.2023 12:20 00001",
"":"iiii"
"":"5555"
}

View File

@@ -2,5 +2,5 @@
"title":"DC2C_pri32",
"version":"27.02.2023 12:20 00001",
"":"",
"":"iiii"
"":"6666"
}

File diff suppressed because one or more lines are too long

View File

@@ -1,15 +0,0 @@
## Ignore everything
*
## Except
!/etc/*.ini
!/etc/atb/*.ini
!/etc/psa_config/*
!/etc/psa_update/*
!/etc/psa_tariff/*
!/etc/dc/*
!/opt/app/ATBAPP/*.ini
!/opt/app/ISMASMgr/*.ini
!/opt/app/sysconfig/*.ini

View File

@@ -0,0 +1,6 @@
{
"title":"DC2C_pri32",
"version":"27.02.2023 12:20 00001",
"":"",
"":"9999"
}