mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Not use git lfs anymore
This commit is contained in:
parent
adcbcc4602
commit
aefb342691
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -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
|
||||
|
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
11
build.gradle
11
build.gradle
@ -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.")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_571001-572000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_571001-572000
(Stored with Git LFS)
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_591001-592000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_591001-592000
(Stored with Git LFS)
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_621001-622000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_621001-622000
(Stored with Git LFS)
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_625001-626000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_625001-626000
(Stored with Git LFS)
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_627001-628000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_627001-628000
(Stored with Git LFS)
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_646001-647000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_646001-647000
(Stored with Git LFS)
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_650001-651000
(Stored with Git LFS)
BIN
p2p/src/main/resources/BsqBlocks_BTC_MAINNET/BsqBlocks_650001-651000
(Stored with Git LFS)
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
Loading…
Reference in New Issue
Block a user