Added Versions page, corrected some errors in Prerequisites.
parent
883279b1a4
commit
44a5d5232c
|
@ -7,7 +7,6 @@ installed on your machine:
|
|||
* `dpkg`: Considering that we build the AppImage from the Debian packages,
|
||||
* `find`: it is used mostly to interact with downloaded files;
|
||||
* `fuse` and the relative kernel modules loaded;
|
||||
* `md5sum`: used optionally to create checksums of the generated files;
|
||||
* `rsync`: if the repository is remote, the application can publish directly
|
||||
the contents using rsync;
|
||||
* `sed`: used to manipulate some source files;
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
# Usage - versions #
|
||||
|
||||
`loaih` can help to find out information about specific LibreOffice versions;
|
||||
this happens because the script parses the official download page and/or
|
||||
infers from some other sources.
|
||||
|
||||
`loaih getversion` helps to find those information:
|
||||
|
||||
loaih getversion 7.6.2
|
||||
|
||||
For example would reply with the following information:
|
||||
```
|
||||
query: 7.6.2
|
||||
version: 7.6.2.1
|
||||
x86: -
|
||||
x86_64: https://downloadarchive.documentfoundation.org/libreoffice/old/7.6.2.1/deb/x86_64/
|
||||
```
|
||||
|
||||
The *query* line would report each argument for the `getversion` verb; the
|
||||
*version* is the full version of the LibreOffice version matching the query;
|
||||
the *x86* and *x86_64* would provide URLs to download all the needed archives
|
||||
to build the AppImage (but do not worry, you don't necessarily need to do it
|
||||
by hand).
|
||||
|
||||
## Textual queries ##
|
||||
|
||||
`loaih` supports textual queries, when you want to find the latest version of
|
||||
some categories of LibreOffice. The following textual queries are supported:
|
||||
|
||||
* `fresh` and `still`: these are the stable release versions for LibreOffice;
|
||||
* `prerelease`: refers to the last prerelease version published on the
|
||||
website;
|
||||
* `current`, `daily`, `yesterday`: returns the version and the URLS to
|
||||
download respectively the current last daily build, the daily build for
|
||||
today, and the daily build for yesterday;
|
||||
* *yyyymmdd*: outputs the information for the daily build corresponding to the
|
||||
indicated date (in the format 4-digits year, 2-digits month, 2-digits day
|
||||
number).
|
||||
|
||||
|
||||
## Fallback to current for daily builds ##
|
||||
|
||||
As the `daily` version might provide an empty answer (the upstream daily build
|
||||
for today has not yet been released), there's an optional `-d` flag to
|
||||
ascertain a `daily` query would reply with a valid answer, pointing out to the
|
||||
last (current) daily release available (same as `current`):
|
||||
|
||||
loaih getversion daily -d
|
||||
|
||||
## Multiple query ##
|
||||
|
||||
It is possible to ask for different queries in the same call, by separating
|
||||
each query with a *comma* ',':
|
||||
|
||||
loaih getversion 7.4,fresh,still
|
||||
|
||||
## JSON output ##
|
||||
|
||||
The information normally given on the standard output can be also provided as
|
||||
a JSON output:
|
||||
|
||||
loaih getversion fresh -j
|
||||
|
||||
|
||||
---
|
||||
[Home](Home.md) — [Prerequisites](Prerequisites.md) — [Installation](Install.md) — [Usage - manual build](Build.md) — [Usage - batch build](Batch.md)
|
Loading…
Reference in New Issue