Updated documentation to v0.2.0
Updated markdown form of manpage to v0.2.0 with respectable changes to what was changed in updater v0.2.0. Manpage updated via pandoc generation of markdown form.
This commit is contained in:
parent
21889a7362
commit
4cf35ddf28
55
updater.1
55
updater.1
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 2.5
|
.\" Automatically generated by Pandoc 2.5
|
||||||
.\"
|
.\"
|
||||||
.TH "UPDATER" "1" "May 24, 2021" "updater 0.1.4" "User Manual"
|
.TH "UPDATER" "1" "June 30, 2021" "updater 0.2.0" "User Manual"
|
||||||
.hy
|
.hy
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -16,7 +16,29 @@
|
||||||
.PD
|
.PD
|
||||||
Prevent notifications from being sent after a session.
|
Prevent notifications from being sent after a session.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
\f[C]\-\-mode=[debug]\f[R]
|
\f[C]\-c, \-\-set\-channel=\f[R]
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
Change the channel to be updated for Microsoft Edge.
|
||||||
|
Will default to the value defined in \f[C]souce.list\f[R] if flag is not
|
||||||
|
present.
|
||||||
|
.RS 2
|
||||||
|
.IP \[bu] 2
|
||||||
|
beta \- update the Beta channel release.
|
||||||
|
.IP \[bu] 2
|
||||||
|
dev \- update the Dev channel release.
|
||||||
|
.RE
|
||||||
|
.IP \[bu] 2
|
||||||
|
\f[C]\-q, \-\-quiet\f[R]
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
Operate strictly with no output on \f[C]STDOUT\f[R] or \f[C]STDERR\f[R],
|
||||||
|
prompts will \f[B]NOT\f[R] assume yes however.
|
||||||
|
Logging still occurs in background.
|
||||||
|
.IP \[bu] 2
|
||||||
|
\f[C]\-\-mode=\f[R]
|
||||||
.PD 0
|
.PD 0
|
||||||
.P
|
.P
|
||||||
.PD
|
.PD
|
||||||
|
|
@ -27,6 +49,13 @@ Default mode occurs without this flag.
|
||||||
\f[B]\f[BI]debug\f[B]\f[R] \- run program in debug mode.
|
\f[B]\f[BI]debug\f[B]\f[R] \- run program in debug mode.
|
||||||
.RE
|
.RE
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
|
\f[C]\-\-full\-clean\f[R]
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
Remove all content generated by updater after a session, this includes
|
||||||
|
all logs.
|
||||||
|
.IP \[bu] 2
|
||||||
\f[C]\-y, \-\-yes\-all\f[R]
|
\f[C]\-y, \-\-yes\-all\f[R]
|
||||||
.PD 0
|
.PD 0
|
||||||
.P
|
.P
|
||||||
|
|
@ -70,14 +99,21 @@ If the script fails to identify its elevation, it will exit and display
|
||||||
a message to STDOUT.
|
a message to STDOUT.
|
||||||
.SS DISCLAIMER!!
|
.SS DISCLAIMER!!
|
||||||
.PP
|
.PP
|
||||||
This version (0.1.4) only works for Microsoft Edge Beta on amd64
|
Currently this program has only updated Microsoft Edge for amd64
|
||||||
architecture.
|
architectures, other architectures might be possible but not tested.
|
||||||
A later release may allow for update of Dev build and potentially both.
|
|
||||||
.SS Testing Systems
|
.SS Testing Systems
|
||||||
.PP
|
.PP
|
||||||
\f[C]updater\f[R] has been known to successfully run, download and
|
\f[C]updater\f[R] has been known to successfully run, download and
|
||||||
update Microsoft Edge (Beta) on Solus 4.2 Fortitude, Kernel version
|
update Microsoft Edge (Beta) on Solus 4.2 Fortitude, Kernel version
|
||||||
5.11.21\-179 and later.
|
5.11.21\-179 and later.
|
||||||
|
.PP
|
||||||
|
The test environment is a custom Docker image built from the Alpine
|
||||||
|
base.
|
||||||
|
Due to certain dependencies of Microsoft Edge, \f[C]updater\f[R] will
|
||||||
|
currently finish with exit code 11 on a successful session due to the
|
||||||
|
binary, \f[C]msedge\f[R], not being able to run.
|
||||||
|
This issue is only known for Busybox systems using \f[C]musl\f[R], and
|
||||||
|
not \f[C]glibc\f[R], which Microsoft Edge is built using.
|
||||||
.SH DEPENDENCIES
|
.SH DEPENDENCIES
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
bash
|
bash
|
||||||
|
|
@ -120,12 +156,15 @@ information.
|
||||||
This line can be broken into 4 parts
|
This line can be broken into 4 parts
|
||||||
.RS 2
|
.RS 2
|
||||||
.IP "1." 3
|
.IP "1." 3
|
||||||
\f[C][dists=amd64]\f[R] \[em]
|
\f[C][dists=amd64,<beta | dev>]\f[R] \[em]
|
||||||
.PD 0
|
.PD 0
|
||||||
.P
|
.P
|
||||||
.PD
|
.PD
|
||||||
This tells the updater which package architecture it should download for
|
This tells the updater which package architecture it should download for
|
||||||
the system.
|
the system.
|
||||||
|
Comma delimited to that, determine which channel of Microsoft Edge to
|
||||||
|
update by default, and can be changed or override by flag arguments.
|
||||||
|
The default value of \f[C]dists\f[R] is \f[C]amd64,beta\f[R].
|
||||||
.IP "2." 3
|
.IP "2." 3
|
||||||
\f[C]<https URL>\f[R] \[em]
|
\f[C]<https URL>\f[R] \[em]
|
||||||
.PD 0
|
.PD 0
|
||||||
|
|
@ -228,6 +267,10 @@ restoration was successful
|
||||||
12 \[em] The restore function failed to restore the files to their
|
12 \[em] The restore function failed to restore the files to their
|
||||||
original location
|
original location
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
|
254 \[em] The channel to update cannot be identified.
|
||||||
|
Most likely cause is \f[C]source.list\f[R] is corrupt and \f[C]\-c\f[R]
|
||||||
|
was not passed.
|
||||||
|
.IP \[bu] 2
|
||||||
255 \[em] EOF flag was set when reading the Packages information file
|
255 \[em] EOF flag was set when reading the Packages information file
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Other \[em] an exit code not related to updater may have been raised.
|
Other \[em] an exit code not related to updater may have been raised.
|
||||||
|
|
|
||||||
30
updater.1.md
30
updater.1.md
|
|
@ -2,8 +2,8 @@
|
||||||
title: UPDATER
|
title: UPDATER
|
||||||
section: 1
|
section: 1
|
||||||
header: User Manual
|
header: User Manual
|
||||||
footer: updater 0.1.4
|
footer: updater 0.2.0
|
||||||
date: May 24, 2021
|
date: June 30, 2021
|
||||||
---
|
---
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
@ -15,9 +15,17 @@ date: May 24, 2021
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
* `-nn, --no-notify`
|
* `-nn, --no-notify`
|
||||||
Prevent notifications from being sent after a session.
|
Prevent notifications from being sent after a session.
|
||||||
* `--mode=[debug]`
|
* `-c, --set-channel=`
|
||||||
|
Change the channel to be updated for Microsoft Edge. Will default to the value defined in `souce.list` if flag is not present.
|
||||||
|
* beta - update the Beta channel release.
|
||||||
|
* dev - update the Dev channel release.
|
||||||
|
* `-q, --quiet`
|
||||||
|
Operate strictly with no output on `STDOUT` or `STDERR`, prompts will __NOT__ assume yes however. Logging still occurs in background.
|
||||||
|
* `--mode=`
|
||||||
Set the mode of the program to be ran in. Default mode occurs without this flag.
|
Set the mode of the program to be ran in. Default mode occurs without this flag.
|
||||||
* ___debug___ - run program in debug mode.
|
* ___debug___ - run program in debug mode.
|
||||||
|
* `--full-clean`
|
||||||
|
Remove all content generated by updater after a session, this includes all logs.
|
||||||
* `-y, --yes-all`
|
* `-y, --yes-all`
|
||||||
Assume yes to all yes/no decisions.
|
Assume yes to all yes/no decisions.
|
||||||
* `-v, --version`
|
* `-v, --version`
|
||||||
|
|
@ -50,14 +58,19 @@ and automatically installs them to your system so you don't have to again!
|
||||||
it will exit and display a message to STDOUT.
|
it will exit and display a message to STDOUT.
|
||||||
|
|
||||||
### DISCLAIMER!!
|
### DISCLAIMER!!
|
||||||
This version (0.1.4) only works for Microsoft Edge Beta on amd64 architecture.
|
Currently this program has only updated Microsoft Edge for amd64 architectures, other architectures
|
||||||
A later release may allow for update of Dev build and potentially both.
|
might be possible but not tested.
|
||||||
|
|
||||||
### Testing Systems
|
### Testing Systems
|
||||||
`updater` has been known to successfully run,
|
`updater` has been known to successfully run,
|
||||||
download and update Microsoft Edge (Beta) on Solus 4.2 Fortitude,
|
download and update Microsoft Edge (Beta) on Solus 4.2 Fortitude,
|
||||||
Kernel version 5.11.21-179 and later.
|
Kernel version 5.11.21-179 and later.
|
||||||
|
|
||||||
|
The test environment is a custom Docker image built from the Alpine base. Due to certain dependencies
|
||||||
|
of Microsoft Edge, `updater` will currently finish with exit code 11 on a successful session due to
|
||||||
|
the binary, `msedge`, not being able to run. This issue is only known for Busybox systems using `musl`,
|
||||||
|
and not `glibc`, which Microsoft Edge is built using.
|
||||||
|
|
||||||
# DEPENDENCIES
|
# DEPENDENCIES
|
||||||
* bash
|
* bash
|
||||||
* wget
|
* wget
|
||||||
|
|
@ -81,9 +94,11 @@ Kernel version 5.11.21-179 and later.
|
||||||
* `[dists]` —
|
* `[dists]` —
|
||||||
Most iconic line and resembles that of an APT entry for package information.
|
Most iconic line and resembles that of an APT entry for package information.
|
||||||
This line can be broken into 4 parts
|
This line can be broken into 4 parts
|
||||||
1. `[dists=amd64]` —
|
1. `[dists=amd64,<beta | dev>]` —
|
||||||
This tells the updater which package architecture it
|
This tells the updater which package architecture it
|
||||||
should download for the system.
|
should download for the system. Comma delimited to that, determine which
|
||||||
|
channel of Microsoft Edge to update by default, and can be changed or override
|
||||||
|
by flag arguments. The default value of `dists` is `amd64,beta`.
|
||||||
2. `<https URL>` —
|
2. `<https URL>` —
|
||||||
The URL which points to the distribution repository
|
The URL which points to the distribution repository
|
||||||
on the Microsoft Packages server.
|
on the Microsoft Packages server.
|
||||||
|
|
@ -129,6 +144,7 @@ Kernel version 5.11.21-179 and later.
|
||||||
* 10 — The archive function failed to create an archive of the system
|
* 10 — The archive function failed to create an archive of the system
|
||||||
* 11 — If the system successfully restored files on an update failure, the updater will exit with this code stating the update failed but restoration was successful
|
* 11 — If the system successfully restored files on an update failure, the updater will exit with this code stating the update failed but restoration was successful
|
||||||
* 12 — The restore function failed to restore the files to their original location
|
* 12 — The restore function failed to restore the files to their original location
|
||||||
|
* 254 — The channel to update cannot be identified. Most likely cause is `source.list` is corrupt and `-c` was not passed.
|
||||||
* 255 — EOF flag was set when reading the Packages information file
|
* 255 — EOF flag was set when reading the Packages information file
|
||||||
* Other — an exit code not related to updater may have been raised. Consult the logs to identify which command returned the exit code.
|
* Other — an exit code not related to updater may have been raised. Consult the logs to identify which command returned the exit code.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user