diff --git a/.woodpecker.yml b/.woodpecker.yml index 7532730..497e4d6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -13,7 +13,7 @@ pipeline: event: push deploy: - image: elara6331/drone-nomad + image: loq9/drone-nomad secrets: [lure_api_github_secret] settings: addr: http://192.168.100.62:4646 diff --git a/src/routes/pkg/[repo]/[name]/+page.svelte b/src/routes/pkg/[repo]/[name]/+page.svelte index 442b5e2..1c513f4 100644 --- a/src/routes/pkg/[repo]/[name]/+page.svelte +++ b/src/routes/pkg/[repo]/[name]/+page.svelte @@ -1,123 +1,170 @@ - {$page.params.name} Package | LURE Web - + {$page.params.name} Package | LURE Web + -
+
- Back - {#await GetPkg({name: $page.params.name, repository: $page.params.repo})} -
- {:then pkg} -

{pkg.name}

-

{fullVer(pkg)}

- View lure.sh -
- - - {#if pkg.description != ""} - - - - - {/if} - {#if pkg.homepage != ""} - - - - - {/if} - {#if pkg.maintainer != ""} - - - - - {/if} - {#if pkg.licenses.length != 0} - - - - - {/if} - {#if pkg.architectures.length != 0} - - - - - {/if} - {#if pkg.conflicts.length != 0} - - - - - {/if} - {#if pkg.provides.length != 0} - - - - - {/if} - {#each [...objToMap(pkg.depends)] as [override, pkgList]} - - - - - {/each} - {#each [...objToMap(pkg.buildDepends)] as [override, pkgList]} - - - - - {/each} - - - - - -
Description:{pkg.description}
Homepage:{pkg.homepage}
Maintainer:{pkg.maintainer}
Licenses: - {#each pkg.licenses as license, index} - {#if license.startsWith('custom')} - {license}{#if index+1 < pkg.licenses.length}, {/if} - {:else} - {license}{#if index+1 < pkg.licenses.length}, {/if} - {/if} - {/each} -
Architectures:{pkg.architectures.join(', ')}
Conflicts:{pkg.conflicts.join(', ')}
Provides:{pkg.provides.join(', ')}
Depends ({override == "" ? "default" : override}):{pkgList.entries.join(', ')}
Build Depends ({override != "" ? override : "default"}):{pkgList.entries.join(', ')}
Repository:{pkg.repository}
-
- {:catch err} -
- Error: {err.msg} -
- {/await} + Back + {#await GetPkg({ name: $page.params.name, repository: $page.params.repo })} +
+ {:then pkg} +
-