Compare commits

..

2 Commits

Author SHA1 Message Date
Andrew
d38a55a99a Merge 4ec6a14252 into 670dad185e 2025-03-26 09:23:34 +00:00
Andrew
4ec6a14252 Add Version in sist2-admin
Added the version badge-pill to the sist2-admin page so you can check the version without going to the main search frontend.
2023-12-20 09:45:15 -06:00
4 changed files with 10 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ target_include_directories(
target_compile_options( target_compile_options(
sist2 sist2
PRIVATE PRIVATE
# -fPIC -fPIC
) )
if (SIST_DEBUG) if (SIST_DEBUG)
@@ -147,7 +147,7 @@ add_dependencies(
target_link_libraries( target_link_libraries(
sist2 sist2
# m m
z z
argparse argparse
unofficial::mongoose::mongoose unofficial::mongoose::mongoose

View File

@@ -3,7 +3,11 @@
<b-navbar-brand to="/"> <b-navbar-brand to="/">
<Sist2Icon></Sist2Icon> <Sist2Icon></Sist2Icon>
</b-navbar-brand> </b-navbar-brand>
<span class="badge badge-pill version" v-if="$store && $store.state.sist2Info">
v{{ sist2Version() }}
</span>
<b-button class="ml-auto" to="/task" variant="link">{{ $t("tasks") }}</b-button> <b-button class="ml-auto" to="/task" variant="link">{{ $t("tasks") }}</b-button>
</b-navbar> </b-navbar>
</template> </template>
@@ -66,4 +70,4 @@ export default {
.btn-link { .btn-link {
color: #222; color: #222;
} }
</style> </style>

View File

@@ -220,7 +220,7 @@ class Sist2IndexTask(Sist2Task):
except ProcessLookupError: except ProcessLookupError:
pass pass
try: try:
os.waitpid(pid, 0) os.wait()
except ChildProcessError: except ChildProcessError:
pass pass

View File

@@ -55,7 +55,7 @@
static const char *const Version = VERSION; static const char *const Version = VERSION;
static const int VersionMajor = 3; static const int VersionMajor = 3;
static const int VersionMinor = 4; static const int VersionMinor = 4;
static const int VersionPatch = 4; static const int VersionPatch = 3;
#ifndef SIST_PLATFORM #ifndef SIST_PLATFORM
#define SIST_PLATFORM unknown #define SIST_PLATFORM unknown