This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -20,7 +20,7 @@ steps:
|
|||||||
- name: checkout tag
|
- name: checkout tag
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- cd rip
|
- cd dust
|
||||||
- git fetch --all --tags
|
- git fetch --all --tags
|
||||||
- git checkout tags/${DRONE_TAG}
|
- git checkout tags/${DRONE_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -28,7 +28,7 @@ steps:
|
|||||||
- name: cargo build
|
- name: cargo build
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
commands:
|
commands:
|
||||||
- cd rip
|
- cd dust
|
||||||
- cargo build --release --target x86_64-unknown-linux-gnu
|
- cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
- cd target/x86_64-unknown-linux-gnu/release
|
- cd target/x86_64-unknown-linux-gnu/release
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -37,17 +37,17 @@ steps:
|
|||||||
image: vbatts/slackware:14.2
|
image: vbatts/slackware:14.2
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p dist/usr/sbin
|
- mkdir -p dist/usr/sbin
|
||||||
- cp rip/target/x86_64-unknown-linux-gnu/release/rip ./dist/usr/sbin/rip
|
- cp dust/target/x86_64-unknown-linux-gnu/release/dust ./dist/usr/sbin/dust
|
||||||
- cp -R ./usr ./dist
|
- cp -R ./usr ./dist
|
||||||
- chmod +x ./dist/usr/sbin/rip
|
- chmod +x ./dist/usr/sbin/dust
|
||||||
- cd dist
|
- cd dist
|
||||||
- makepkg -l y -c y ../unraid-rip-${DRONE_TAG}.txz
|
- makepkg -l y -c y ../unraid-dust-${DRONE_TAG}.txz
|
||||||
depends_on:
|
depends_on:
|
||||||
- "cargo build"
|
- "cargo build"
|
||||||
- name: prepare release
|
- name: prepare release
|
||||||
image: vbatts/slackware:14.2
|
image: vbatts/slackware:14.2
|
||||||
commands:
|
commands:
|
||||||
- echo "rip ${DRONE_TAG} - built@$(date '+%FT%TZ') [Drone ${DRONE_SYSTEM_VERSION}]" > ./release_note
|
- echo "dust ${DRONE_TAG} - built@$(date '+%FT%TZ') [Drone ${DRONE_SYSTEM_VERSION}]" > ./release_note
|
||||||
- cat ./release_note
|
- cat ./release_note
|
||||||
depends_on:
|
depends_on:
|
||||||
- "build slackware package"
|
- "build slackware package"
|
||||||
@@ -58,7 +58,7 @@ steps:
|
|||||||
from_secret: GITEA_KEY
|
from_secret: GITEA_KEY
|
||||||
base_url: https://git.panaetius.co.uk
|
base_url: https://git.panaetius.co.uk
|
||||||
files:
|
files:
|
||||||
- ./unraid-rip-${DRONE_TAG}.txz
|
- ./unraid-dust-${DRONE_TAG}.txz
|
||||||
checksum:
|
checksum:
|
||||||
- md5
|
- md5
|
||||||
title: ${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
@@ -74,7 +74,7 @@ steps:
|
|||||||
api_key:
|
api_key:
|
||||||
from_secret: GITHUB_KEY
|
from_secret: GITHUB_KEY
|
||||||
files:
|
files:
|
||||||
- ./unraid-rip-${DRONE_TAG}.txz
|
- ./unraid-dust-${DRONE_TAG}.txz
|
||||||
checksum:
|
checksum:
|
||||||
- md5
|
- md5
|
||||||
title: ${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?xml version='1.0' standalone='yes'?>
|
<?xml version='1.0' standalone='yes'?>
|
||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "unraid-rip">
|
<!ENTITY name "unraid-dust">
|
||||||
<!ENTITY author "dtomlinson">
|
<!ENTITY author "dtomlinson">
|
||||||
<!ENTITY org "dtomlinson91">
|
<!ENTITY org "dtomlinson91">
|
||||||
<!ENTITY version "0.13.1">
|
<!ENTITY version "v0.8.0">
|
||||||
<!ENTITY gitURL "https://git.panaetius.co.uk/&org;/&name;">
|
<!ENTITY gitURL "https://git.panaetius.co.uk/&org;/&name;">
|
||||||
<!ENTITY pluginURL "&gitURL;/raw/branch/master/&name;.plg">
|
<!ENTITY pluginURL "&gitURL;/raw/branch/master/&name;.plg">
|
||||||
<!ENTITY releaseURL "&gitURL;/releases/download/&version;/&name;-&version;.txz">
|
<!ENTITY releaseURL "&gitURL;/releases/download/&version;/&name;-&version;.txz">
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
### 2022-05-06
|
### 2022-05-06
|
||||||
|
|
||||||
- Initial release - rip 0.13.1
|
- Initial release - dust v0.8.0
|
||||||
|
|
||||||
</CHANGES>
|
</CHANGES>
|
||||||
|
|
||||||
@@ -46,19 +46,17 @@ fi
|
|||||||
|
|
||||||
<FILE Name="&emhttp;/README.md">
|
<FILE Name="&emhttp;/README.md">
|
||||||
<INLINE>
|
<INLINE>
|
||||||
**rip**
|
**dust**
|
||||||
|
|
||||||
rip is a command-line deletion tool focused on safety, ergonomics, and performance. It favors a simple interface, and does not implement the xdg-trash spec or attempt to achieve the same goals.
|
du + rust = dust. Like du but more intuitive. An easy way to see where your disk is being used.
|
||||||
|
|
||||||
Deleted files get sent to the graveyard (`/tmp/graveyard-$USER` by default, see notes on changing this) under their absolute path, giving you a chance to recover them. No data is overwritten. If files that share the same path are deleted, they will be renamed as numbered backups.
|
For more information see the [dust repository](https://github.com/bootandy/dust).
|
||||||
|
|
||||||
For more information see the [rip repository](https://github.com/nivekuil/rip).
|
|
||||||
</INLINE>
|
</INLINE>
|
||||||
</FILE>
|
</FILE>
|
||||||
|
|
||||||
<FILE Run="/bin/bash" Method="remove">
|
<FILE Run="/bin/bash" Method="remove">
|
||||||
<INLINE>
|
<INLINE>
|
||||||
echo "*** Removing rip ***"
|
echo "*** Removing dust ***"
|
||||||
|
|
||||||
# Remove plugin related files
|
# Remove plugin related files
|
||||||
removepkg &name;-&version;
|
removepkg &name;-&version;
|
||||||
@@ -67,7 +65,7 @@ rm -rf &emhttp;
|
|||||||
rm -rf &plugin;
|
rm -rf &plugin;
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "*** Successfully removed rip ***"
|
echo "*** Successfully removed dust ***"
|
||||||
</INLINE>
|
</INLINE>
|
||||||
</FILE>
|
</FILE>
|
||||||
</PLUGIN>
|
</PLUGIN>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?xml version='1.0' standalone='yes'?>
|
<?xml version='1.0' standalone='yes'?>
|
||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "unraid-rip">
|
<!ENTITY name "unraid-dust">
|
||||||
<!ENTITY author "dtomlinson">
|
<!ENTITY author "dtomlinson">
|
||||||
<!ENTITY org "dtomlinson91">
|
<!ENTITY org "dtomlinson91">
|
||||||
<!ENTITY version "0.13.1">
|
<!ENTITY version "v0.8.0">
|
||||||
<!ENTITY gitURL "https://github.com/&org;/&name;">
|
<!ENTITY gitURL "https://github.com/&org;/&name;">
|
||||||
<!ENTITY pluginURL "&gitURL;/raw/master/&name;.plg">
|
<!ENTITY pluginURL "&gitURL;/raw/master/&name;.plg">
|
||||||
<!ENTITY releaseURL "&gitURL;/releases/download/&version;/&name;-&version;.txz">
|
<!ENTITY releaseURL "&gitURL;/releases/download/&version;/&name;-&version;.txz">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
### 2022-05-06
|
### 2022-05-06
|
||||||
|
|
||||||
- Initial release - rip 0.13.1
|
- Initial release - dust v0.8.0
|
||||||
|
|
||||||
</CHANGES>
|
</CHANGES>
|
||||||
|
|
||||||
@@ -45,19 +45,17 @@ fi
|
|||||||
|
|
||||||
<FILE Name="&emhttp;/README.md">
|
<FILE Name="&emhttp;/README.md">
|
||||||
<INLINE>
|
<INLINE>
|
||||||
**rip**
|
**dust**
|
||||||
|
|
||||||
rip is a command-line deletion tool focused on safety, ergonomics, and performance. It favors a simple interface, and does not implement the xdg-trash spec or attempt to achieve the same goals.
|
du + rust = dust. Like du but more intuitive. An easy way to see where your disk is being used.
|
||||||
|
|
||||||
Deleted files get sent to the graveyard (`/tmp/graveyard-$USER` by default, see notes on changing this) under their absolute path, giving you a chance to recover them. No data is overwritten. If files that share the same path are deleted, they will be renamed as numbered backups.
|
For more information see the [dust repository](https://github.com/bootandy/dust).
|
||||||
|
|
||||||
For more information see the [rip repository](https://github.com/nivekuil/rip).
|
|
||||||
</INLINE>
|
</INLINE>
|
||||||
</FILE>
|
</FILE>
|
||||||
|
|
||||||
<FILE Run="/bin/bash" Method="remove">
|
<FILE Run="/bin/bash" Method="remove">
|
||||||
<INLINE>
|
<INLINE>
|
||||||
echo "*** Removing rip ***"
|
echo "*** Removing dust ***"
|
||||||
|
|
||||||
# Remove plugin related files
|
# Remove plugin related files
|
||||||
removepkg &name;-&version;
|
removepkg &name;-&version;
|
||||||
@@ -66,7 +64,7 @@ rm -rf &emhttp;
|
|||||||
rm -rf &plugin;
|
rm -rf &plugin;
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "*** Successfully removed rip ***"
|
echo "*** Successfully removed dust ***"
|
||||||
</INLINE>
|
</INLINE>
|
||||||
</FILE>
|
</FILE>
|
||||||
</PLUGIN>
|
</PLUGIN>
|
||||||
|
|||||||
Reference in New Issue
Block a user