Commit Graph

44 Commits (4d25f695267590b61a4061f9bb43448005d99b85)

Author SHA1 Message Date
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
6 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
Marcus Hildum 0efda04920 Use heredocs instead of multiple calls to echo
8 years ago
Marcus Hildum 28eeaf201b Standardize function declaration
8 years ago
Adam Warner b66f23cfd0 account for new update script
8 years ago
Adam Warner 013d77488a complete overhaul of version script. Now with optional arguments!
8 years ago
Adam Warner 29ad2496b6 don't output "elevating with sudo" in pihole script, just do it.
8 years ago
Promofaux e11ef5a7f0 Add version display script. Also checks current version on web and reports version.
8 years ago