Skip to content

Commit

Permalink
Prepare for repo to org move
Browse files Browse the repository at this point in the history
This PR prepares this repo to be moved to the Vaultwarden organization.

Signed-off-by: BlackDex <[email protected]>
  • Loading branch information
BlackDex committed Oct 21, 2024
1 parent bfa7310 commit 81b9a29
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Web Vault builds for Vaultwarden

[![GitHub Release](https://img.shields.io/github/release/dani-garcia/bw_web_builds.svg)](https://github.com/dani-garcia/bw_web_builds/releases/latest)
[![GitHub Release](https://img.shields.io/github/release/vaultwarden/bw_web_builds.svg)](https://github.com/vaultwarden/bw_web_builds/releases/latest)
[![Docker Pulls](https://img.shields.io/docker/pulls/vaultwarden/web-vault.svg)](https://hub.docker.com/r/vaultwarden/web-vault)
[![GPL-3.0 Licensed](https://img.shields.io/github/license/dani-garcia/bw_web_builds.svg)](https://github.com/dani-garcia/bw_web_builds/blob/master/LICENSE.txt)
[![GPL-3.0 Licensed](https://img.shields.io/github/license/vaultwarden/bw_web_builds.svg)](https://github.com/vaultwarden/bw_web_builds/blob/master/LICENSE.txt)
[![Matrix Chat](https://img.shields.io/matrix/vaultwarden:matrix.org.svg?logo=matrix)](https://matrix.to/#/#vaultwarden:matrix.org)

**This project is not associated with the [Bitwarden](https://bitwarden.com/) project nor Bitwarden, Inc.**
Expand All @@ -13,7 +13,7 @@

<br>

This is a repository to store the builds of the [Bitwarden web vault](https://github.com/bitwarden/clients/tree/main/apps/web) with the patches to make it work with [Vaultwarden](https://github.com/dani-garcia/vaultwarden)
This is a repository to store the builds of the [Bitwarden web vault](https://github.com/bitwarden/clients/tree/main/apps/web) with the patches to make it work with [Vaultwarden](https://github.com/vaultwarden/vaultwarden)

To create a patch you need to modify the original sources from [Bitwarden web vault](https://github.com/bitwarden/clients/tree/main/apps/web) and execute:

Expand Down Expand Up @@ -58,16 +58,16 @@ make CONTAINER_CMD=podman container-extract


### More information
For more information see: [Install the web-vault](https://github.com/dani-garcia/vaultwarden/wiki/Building-binary#install-the-web-vault)
For more information see: [Install the web-vault](https://github.com/vaultwarden/vaultwarden/wiki/Building-binary#install-the-web-vault)

### Pre-build
The builds are available in the [releases page](https://github.com/dani-garcia/bw_web_builds/releases), and can be replicated with the scripts in this repo.
The builds are available in the [releases page](https://github.com/vaultwarden/bw_web_builds/releases), and can be replicated with the scripts in this repo.

<br>

## Get in touch
If you spot any bugs or crashes with Vaultwarden itself, please [create an issue here](https://github.com/dani-garcia/vaultwarden/issues/). Make sure there aren't any similar issues open, though!
If you spot any bugs or crashes with Vaultwarden itself, please [create an issue here](https://github.com/vaultwarden/vaultwarden/issues/). Make sure there aren't any similar issues open, though!

To ask a question, offer suggestions or new features or to get help configuring or installing the software, please use either [GitHub Discussions](https://github.com/dani-garcia/vaultwarden/discussions) or [the forum](https://vaultwarden.discourse.group/).
To ask a question, offer suggestions or new features or to get help configuring or installing the software, please use either [GitHub Discussions](https://github.com/vaultwarden/vaultwarden/discussions) or [the forum](https://vaultwarden.discourse.group/).

If you prefer to chat, we're usually hanging around at [#vaultwarden:matrix.org](https://matrix.to/#/#vaultwarden:matrix.org) room on Matrix. Feel free to join us!
2 changes: 1 addition & 1 deletion patches/v2024.6.2.patch
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ index e2b3e7910a..fda32e9257 100644
- <a bitMenuItem href="https://bitwarden.com/help/" target="_blank" rel="noreferrer">
+ <a
+ bitMenuItem
+ href="https://github.com/dani-garcia/vaultwarden"
+ href="https://github.com/vaultwarden/vaultwarden"
+ target="_blank"
+ rel="noreferrer"
+ >
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_web_vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm run dist:oss:selfhost

# Create vw-version.json with the latest tag from the remote repo.
printf '{"version":"%s"}' \
"$(git -c 'versionsort.suffix=-' ls-remote --tags --refs --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$')" \
"$(git -c 'versionsort.suffix=-' ls-remote --tags --refs --sort='v:refname' https://github.com/vaultwarden/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$')" \
> build/vw-version.json

popd
Expand Down
4 changes: 2 additions & 2 deletions scripts/gh_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [[ -n "$GPG_SIGNING_USER" ]]; then
fi

# Get the latest release tag, this should match the tag created with `gh-prepare`
LATEST_REMOTE_TAG="v$(git -c 'versionsort.suffix=-' ls-remote --tags --refs --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$')"
LATEST_REMOTE_TAG="v$(git -c 'versionsort.suffix=-' ls-remote --tags --refs --sort='v:refname' https://github.com/vaultwarden/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$')"

# Ask for release tag if not provided, or validate the `$LATEST_REMOTE_TAG`
if [[ -z "$RELEASE_TAG" ]]; then
Expand Down Expand Up @@ -65,7 +65,7 @@ while true; do
done

echo "Extracting tar.gz file from GitHub Container Registry"
${CONTAINER_CMD} create --name "bw_web_${RELEASE_TAG}" "ghcr.io/dani-garcia/bw_web_builds:${RELEASE_TAG}"
${CONTAINER_CMD} create --name "bw_web_${RELEASE_TAG}" "ghcr.io/vaultwarden/bw_web_builds:${RELEASE_TAG}"
${CONTAINER_CMD} cp "bw_web_${RELEASE_TAG}:/bw_web_vault.tar.gz" "bw_web_${RELEASE_TAG}.tar.gz"
${CONTAINER_CMD} rm "bw_web_${RELEASE_TAG}"

Expand Down

0 comments on commit 81b9a29

Please sign in to comment.