Skip to content

Commit

Permalink
fix: report html url instead of json, add dickens script
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 3, 2024
1 parent 0946877 commit c3245cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions diff-deb-new.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
# Usage: diff-deb-new.sh right.deb
right=$1.contents
dpkg --contents $1 | awk '!($2=$3=$4=$5="")' > $right
touch -m -d "1980-01-01" $right

diff --label a --label b -u /dev/null $right
11 changes: 11 additions & 0 deletions diff-deb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
# Usage: diff-deb.sh left.deb right.deb
left=$1.contents
dpkg --contents $1 | awk '!($2=$3=$4=$5="")' > $left
touch -m -d "1980-01-01" $left

right=$2.contents
dpkg --contents $2 | awk '!($2=$3=$4=$5="")' > $right
touch -m -d "1980-01-01" $right

diff --label a --label b -u $left $right
2 changes: 1 addition & 1 deletion server/src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ pub async fn answer(
bot_send_message_handle_length(
&bot,
&msg,
&format!("Report posted as comment: {}", comment.url),
&format!("Report posted as comment: {}", comment.html_url),
)
.await?;
}
Expand Down

0 comments on commit c3245cb

Please sign in to comment.