Skip to content

Commit c88caa5

Browse files
committed
Merge branch 'develop'
2 parents be7ff4a + 25d8a3d commit c88caa5

File tree

5 files changed

+26
-14
lines changed

5 files changed

+26
-14
lines changed

.github/workflows/makefile.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ name: Makefile CI
22

33
on:
44
push:
5-
branches: [ develop ]
5+
branches:
6+
- develop
7+
- feature/**
8+
- release/**
9+
- master
610
pull_request:
7-
branches: [ develop ]
11+
branches:
12+
- develop
13+
- feature/**
14+
- release/**
15+
- master
816

917
jobs:
1018
build:

actions/enotes/listarchivedenotes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ cd "${TODO_DIR}/notes/archive/" || exit 1
4141

4242
# Find a list of files
4343
find . -name "${PRE}-*enc" -printf '%P\n' | grep "^${PRE}-" | \
44-
sed -e "s/^${PRE}-//g" -e "s/^/enote:/g" -e "s/\.enc$//g" -e "s/\.[0-9]\{1,10\}$//g" > \
45-
"${TODO_TMP_FILE}"
44+
sed -e "s/^${PRE}-//g" -e "s/^/enote:/g" -e "s/\.enc$//g" -e "s/\.[0-9]\{1,10\}$//g" | \
45+
sort > "${TODO_TMP_FILE}"
4646
if [[ $(grep -c "$*" "${TODO_TMP_FILE}") -gt 0 ]]; then
4747
grep "$*" "${TODO_TMP_FILE}"
4848
[[ -f "${TODO_TMP_FILE}" ]] && rm -rf "${TODO_TMP_FILE}"

actions/notes/listarchivednotes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ cd "${TODO_DIR}/notes/archive/" || exit 1
4141

4242
# Find a list of files
4343
find . -name "${PRE}-*txt" -printf '%P\n' | grep "^${PRE}-" | \
44-
sed -e "s/${PRE}-//" -e "s/^/note:/" -e "s/.txt$//" -e "s/\.[0-9]\{1,10\}$//g" > \
45-
"${TODO_TMP_FILE}"
44+
sed -e "s/${PRE}-//" -e "s/^/note:/" -e "s/.txt$//" -e "s/\.[0-9]\{1,10\}$//g" |
45+
sort > "${TODO_TMP_FILE}"
4646
if [[ $(grep -c "$*" "${TODO_TMP_FILE}") -gt 0 ]]; then
4747
grep "$*" "${TODO_TMP_FILE}"
4848
[[ -f "${TODO_TMP_FILE}" ]] && rm -rf "${TODO_TMP_FILE}"

tests/t4060-listarchivedenotes.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ Fix bicycle enote:testing
1818
Ride bike enote:testing
1919
EOF
2020
# Create our notes file with some content
21-
cat > notes/todo-test.enc << EOF
21+
cat > notes/todo-test.enc << EOF
2222
test note first line
2323
test note second line
2424
EOF
2525
# Create our notes file with some content
26-
cat > ./notes/archive/todo-testing.enc << EOF
26+
cat > ./notes/archive/todo-testing.enc << EOF
2727
test note first line
2828
test note second line
2929
EOF
30-
cat > ./notes/archive/todo-previous.10100000.enc << EOF
30+
cat > ./notes/archive/todo-previous.10100000.enc << EOF
3131
test note first line
3232
test note second line
3333
test note third line
@@ -49,8 +49,8 @@ EOF
4949

5050
test_todo_session 'listarchivedenotes all' <<EOF
5151
>>> todo.sh listarchivedenotes
52-
enote:testing
5352
enote:previous
53+
enote:testing
5454
=== 0
5555
EOF
5656

todo.txt-plugins.code-workspace

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"folders": [
3-
{
4-
"path": "."
5-
}
6-
],
3+
{
4+
"path": "../../../../../../../net/nas1/volume1/scratcharea/paulbm/git/home/github/todo.txt-plugins"
5+
}
6+
],
77
"settings": {
88
"editor.tabSize": 2,
99
"editor.detectIndentation": false,
@@ -39,6 +39,10 @@
3939
{
4040
"name": "feature/readme_markdown",
4141
"base": "develop"
42+
},
43+
{
44+
"name": "feature/fix_ci",
45+
"base": "develop"
4246
}
4347
]
4448
}

0 commit comments

Comments
 (0)