Not use git lfs anymore

This commit is contained in:
Christoph Atteneder 2022-09-15 09:21:37 +02:00
parent adcbcc4602
commit aefb342691
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B
222 changed files with 100493 additions and 116 deletions

2
.gitattributes vendored
View File

@ -12,5 +12,3 @@
*.jpg binary
*.jpeg binary
*.png binary
p2p/src/main/resources/*BTC_MAINNET filter=lfs diff=lfs merge=lfs -text
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/* filter=lfs diff=lfs merge=lfs -text

View File

@ -22,7 +22,6 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
lfs: true
- name: Set up JDK
uses: actions/setup-java@d854b6da19cdadd9a010605529e522c2393ebd38

View File

@ -2,14 +2,5 @@ language: java
jdk:
- openjdk11
cache:
directories:
- .git/lfs
git:
lfs_skip_smudge: true
install:
- git lfs pull
before_install:
grep -v '^#' assets/src/main/resources/META-INF/services/bisq.asset.Asset | sort --check --dictionary-order --ignore-case

View File

@ -325,17 +325,6 @@ configure(project(':p2p')) {
testImplementation "org.apache.commons:commons-lang3:$langVersion"
testImplementation("org.mockito:mockito-core:$mockitoVersion")
}
processResources.doFirst {
// Sanity check that Git LFS-managed data store files have actually been sync'd.
// If they have not, e.g. because Git LFS is not installed, they will be text files
// containing a sha256 hash of the remote object, indicating we should stop the
// build and inform the user how to fix the problem.
if (file('src/main/resources/ProposalStore_BTC_MAINNET').text.contains("oid sha256:"))
throw new GradleException("p2p data store files have not been synchronized. " +
"To fix this, ensure you have Git LFS installed and run `git lfs pull`. " +
"See docs/build.md for more information.")
}
}

View File

@ -1,31 +1,6 @@
## Building Bisq
1. **Install Git LFS**
Bisq uses Git LFS (Large File Storage) to track certain large binary files. Follow the instructions at https://git-lfs.github.com to install it, then run the following to command to verify the installation:
```sh
git lfs version
```
On some distributions (happens with Xubuntu x64 on VM) this might return an error like:
```
git: 'lfs' is not a git command. See 'git --help'.
The most similar command is
log
```
if the above happens, you should first run:
`sudo apt install git-lfs`
in order to properly install the `lfs` package.
You should see the version of Git LFS you installed, for example:
```
git-lfs/2.10.0 (GitHub; darwin amd64; go 1.13.6)
```
2. **Clone Bisq**
1. **Clone Bisq**
```sh
git clone https://github.com/bisq-network/bisq
@ -35,13 +10,7 @@
cd bisq
```
3. **Pull LFS data**
```sh
git lfs pull
```
4. **Build Bisq**
2. **Build Bisq**
On macOS and Linux, execute:
```sh

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More