aboutsummaryrefslogtreecommitdiffsponsor
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2023-09-15 15:23:49 -0500
committerSlack Coder <slackcoder@server.ky>2023-09-15 15:23:49 -0500
commit2fda2161877e61e16b7f208ba1f92f650776cbe2 (patch)
tree1a8a9985aa3fc2c8ce80ac8b85722e8ae3edc5e3
parent21ebdefdc012cf6430ad151eb7ecfa883ded8830 (diff)
downloadpkgtools-go-2fda2161877e61e16b7f208ba1f92f650776cbe2.tar.xz
add multiple todos
-rw-r--r--todo/Installpkg ACL XATTR attributes.md4
-rw-r--r--todo/Installpkg flags.md12
-rw-r--r--todo/Installpkg preserve exit status.md4
-rw-r--r--todo/Miniimal viable upgradepkg.md4
-rw-r--r--todo/Removepkg continue on fail.md4
-rw-r--r--todo/Test against official commands.md2
-rw-r--r--todo/Upgradepkg flags.md10
-rw-r--r--todo/mcookie.md3
8 files changed, 43 insertions, 0 deletions
diff --git a/todo/Installpkg ACL XATTR attributes.md b/todo/Installpkg ACL XATTR attributes.md
new file mode 100644
index 0000000..e622000
--- /dev/null
+++ b/todo/Installpkg ACL XATTR attributes.md
@@ -0,0 +1,4 @@
+# Installpkg 'ACL' and "XATTR" support
+
+Installpkg must mimic Slackware's installpkg by setting the 'acl' and 'xattr'
+file attributes when installing a package.
diff --git a/todo/Installpkg flags.md b/todo/Installpkg flags.md
new file mode 100644
index 0000000..0a8ca5d
--- /dev/null
+++ b/todo/Installpkg flags.md
@@ -0,0 +1,12 @@
+Add support for the following installpkg flags:
+
+```
+--warn (warn if files will be overwritten, but do not install)
+--md5sum (record the package's md5sum in the metadata file)
+--no-overwrite When extracting the package, do not overwrite
+ existing files. Usually, this option should not be used.
+ It exists so that upgradepkg can use it for the second
+ installation pass. The first pass has already overwritten
+ the previous package's files, and this will catch the few
+ corner cases without generating unnecessary writes.
+```
diff --git a/todo/Installpkg preserve exit status.md b/todo/Installpkg preserve exit status.md
new file mode 100644
index 0000000..a69c956
--- /dev/null
+++ b/todo/Installpkg preserve exit status.md
@@ -0,0 +1,4 @@
+# Installpkg preserve exit status
+
+Installpkg uses a set list of exit statuses to communicate why it failed.
+These may be used by other programs running the tool.
diff --git a/todo/Miniimal viable upgradepkg.md b/todo/Miniimal viable upgradepkg.md
new file mode 100644
index 0000000..5452971
--- /dev/null
+++ b/todo/Miniimal viable upgradepkg.md
@@ -0,0 +1,4 @@
+# Minimal viable upgradepkg
+
+Create a minimal drop in replacement for updatepkg which supports the 'ROOT'
+environment variable.
diff --git a/todo/Removepkg continue on fail.md b/todo/Removepkg continue on fail.md
new file mode 100644
index 0000000..a0267c1
--- /dev/null
+++ b/todo/Removepkg continue on fail.md
@@ -0,0 +1,4 @@
+# Remove package continue on fail
+
+Removepkg should continue after a failed file deletion, outputing errors to the
+console.
diff --git a/todo/Test against official commands.md b/todo/Test against official commands.md
new file mode 100644
index 0000000..4649c9c
--- /dev/null
+++ b/todo/Test against official commands.md
@@ -0,0 +1,2 @@
+Test against official installpkg and removepkg commands to document bugs in the
+system.
diff --git a/todo/Upgradepkg flags.md b/todo/Upgradepkg flags.md
new file mode 100644
index 0000000..017190b
--- /dev/null
+++ b/todo/Upgradepkg flags.md
@@ -0,0 +1,10 @@
+# Upgradepkg flags
+
+Support more upgradepkg flags
+
+```
+--dry-run only display what would be done
+--install-new install new packages also
+--reinstall upgrade packages of the same version
+--verbose display all the gory details of the upgrade
+```
diff --git a/todo/mcookie.md b/todo/mcookie.md
new file mode 100644
index 0000000..698b181
--- /dev/null
+++ b/todo/mcookie.md
@@ -0,0 +1,3 @@
+# What is the mcookie for?
+
+Figure out what the mcookie is used for and implement it.