Commit Graph

56 Commits (b13a75a223c74b1f4dc9d29893bd57f812f69e13)

Author SHA1 Message Date
Adam Warner cdbe4c9b86
Get only the precise tag number when getting local version, do not show branch name when on master branch(es)
2 years ago
Christian König 52283478c8
Run pihole updatechecker if versions file is not found
2 years ago
Christian König 9471c69882
Fix spelling
2 years ago
Christian König 79c0b446e1
Set missing data to N/A
2 years ago
Christian König a478f2460b
POSIX
2 years ago
Christian König 2dc599f266
Simplify version.sh
2 years ago
Adam Warner a4b899c256
Review suggestions (and shellcheck complaints)
2 years ago
Adam Warner 5421aad03e
Store versions as key/value pairs rather than space delimeted values
2 years ago
Subhaditya Nath ba6d700e7e
Fix `pihole -v` output if WebAdmin not installed (#4370)
2 years ago
jbzdarkid bc8150adfa Clean up bash script formatting
2 years ago
Adam Warner 5895690b58
this has been annoying me for months
3 years ago
Dave Nicolson ab753e88a2 Fix GitHub capitalisation
4 years ago
DL6ER 401c029dc4
Improve else condition of branch determination
4 years ago
DL6ER 0343171703
Add correct displaying for detached HEAD state.
4 years ago
DL6ER 176fbaf83b
Ask pihole-FTL for the branch it was compiled from instead of trusting the checkout file to be present.
4 years ago
Adam Warner 3cc9ba4ee8
stickler Signed-off-by: Adam Warner <me@adamwarner.co.uk>
4 years ago
Adam Warner 6dc85c3527
Don't display branch name if it is on master.
4 years ago
Adam Warner 851947bbf2
Add branch name to version output
4 years ago
Mark Drobnak ed5869646f
Use source instead of dot for setupVars
5 years ago
Mcat12 be2d494fcf
Don't show web version in pihole -v output if not installed
5 years ago
Dan Schaper 328e7738d5
Space/Tab version.sh
6 years ago
WaLLy3K 30035ce1c2 Merge branch 'development' into tweak/help-output
7 years ago
WaLLy3K 3bd677c102 Show help for "pihole -v -h"
7 years ago
WaLLy3K b721ed49ab Update Help Output (#1467)
7 years ago
WaLLy3K ea0a9ceb37 Provide remote hashes for version.sh
7 years ago
WaLLy3K c6596f2c54 Modified syntax to be valid for Shellcheck
7 years ago
WaLLy3K 2863308090 Minimise string duplication & other minor changes
7 years ago
WaLLy3K 7fef1fdc83 Fixed indentation
7 years ago
WaLLy3K fe0a35cc7a Update -h to work as --hash
7 years ago
WaLLy3K 03201e2f20 Display FTL version & version.sh rewrite
7 years ago
DL6ER 38ba079baa
Merge pull request #1307 from pi-hole/fix/versionwithoutwebinterface
7 years ago
Dan Schaper 33f7979359
Merge pull request #1293 from pi-hole/fix/version
7 years ago
DL6ER 6dea00668e
Don't try to obtain version of web interface it it is not installed. Fixes #1303
7 years ago
Dan Schaper abd3e828de
Optimize normalOutput
7 years ago
DL6ER b85af50d14
Generate only the information that is actually asked for
7 years ago
Dan Schaper 0e8fd49669
Function...
7 years ago
Dan Schaper 945e22874e
Collapse duplicate functions, and take out argument loops.
7 years ago
Dan Schaper 77ab47a984
Awk for perl
7 years ago
Dan Schaper ed8088f203
Functions for Core/Web version and hash. And only check first argument in each section.
7 years ago
Dan Schaper 8831b22fc8
Prototype function for getting version of local repo
7 years ago
Dan Schaper 0341bd1758
Optimize code, undoc flag for current hash.
7 years ago
Dan Schaper 9bb4a5fb25
Factor out variables from display.
7 years ago
Dan Schaper ebfffea5dc
Always show something, even if it's just the short hash of the latest commit.
7 years ago
Dan Schaper 81939ab265
Get short hash of local and remote
7 years ago
Jacob Salmela 7a1a2dec67
update license to EUPL on core files
7 years ago
Dan Schaper fc596e41d4
All scripts set executable
7 years ago
Dan Schaper 925c80edd4
Catch more 1's
8 years ago
Dan Schaper 4b7b859db9 Gotta catch 'em all...'
8 years ago
Dan Schaper f7266ef4c8 Version remote check returns -1 on failure to detect curl silent failing. Update detects loss of contact to GitHub or fallthrough condition and reports to user.
8 years ago
Marcus Hildum 69ba8a3c2f Consistency
8 years ago