moving all references to release
branch
was previously `master`
This commit is contained in:
parent
645a2975c3
commit
0b39531d75
@ -5,7 +5,7 @@ possible.
|
|||||||
## Our Development Process
|
## Our Development Process
|
||||||
New versions are being developed in the "dev" branch,
|
New versions are being developed in the "dev" branch,
|
||||||
or in their own feature branch.
|
or in their own feature branch.
|
||||||
When they are deemed ready for a release, they are merged into "master".
|
When they are deemed ready for a release, they are merged into "release".
|
||||||
|
|
||||||
As a consequences, all contributions must stage first through "dev"
|
As a consequences, all contributions must stage first through "dev"
|
||||||
or their own feature branch.
|
or their own feature branch.
|
||||||
@ -383,7 +383,7 @@ CI tests run every time a pull request (PR) is created or updated. The exact tes
|
|||||||
that get run will depend on the destination branch you specify. Some tests take
|
that get run will depend on the destination branch you specify. Some tests take
|
||||||
longer to run than others. Currently, our CI is set up to run a short
|
longer to run than others. Currently, our CI is set up to run a short
|
||||||
series of tests when creating a PR to the dev branch and a longer series of tests
|
series of tests when creating a PR to the dev branch and a longer series of tests
|
||||||
when creating a PR to the master branch. You can look in the configuration files
|
when creating a PR to the release branch. You can look in the configuration files
|
||||||
of the respective CI platform for more information on what gets run when.
|
of the respective CI platform for more information on what gets run when.
|
||||||
|
|
||||||
Most people will just want to create a PR with the destination set to their local dev
|
Most people will just want to create a PR with the destination set to their local dev
|
||||||
|
@ -193,7 +193,7 @@ Zstandard is dual-licensed under [BSD](LICENSE) and [GPLv2](COPYING).
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
The "dev" branch is the one where all contributions are merged before reaching "master".
|
The `dev` branch is the one where all contributions are merged before reaching `release`.
|
||||||
If you plan to propose a patch, please commit into the "dev" branch, or its own feature branch.
|
If you plan to propose a patch, please commit into the `dev` branch, or its own feature branch.
|
||||||
Direct commit to "master" are not permitted.
|
Direct commit to `release` are not permitted.
|
||||||
For more information, please read [CONTRIBUTING](CONTRIBUTING.md).
|
For more information, please read [CONTRIBUTING](CONTRIBUTING.md).
|
||||||
|
@ -27,7 +27,7 @@ They consist of the following tests:
|
|||||||
|
|
||||||
Long Tests
|
Long Tests
|
||||||
----------
|
----------
|
||||||
Long tests run on all commits to `master` branch,
|
Long tests run on all commits to `release` branch,
|
||||||
and once a day on the current version of `dev` branch,
|
and once a day on the current version of `dev` branch,
|
||||||
on TravisCI.
|
on TravisCI.
|
||||||
They consist of the following tests:
|
They consist of the following tests:
|
||||||
|
12
appveyor.yml
12
appveyor.yml
@ -1,13 +1,13 @@
|
|||||||
# Following tests are run _only_ on master branch
|
# Following tests are run _only_ on `release` branch
|
||||||
# To reproduce these tests, it's possible to push into a branch `appveyorTest`
|
# and on selected feature branch named `appveyorTest` or `visual*`
|
||||||
# or a branch `visual*`, they will intentionnally trigger `master` tests
|
|
||||||
|
|
||||||
-
|
-
|
||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
- release
|
||||||
- master
|
- master
|
||||||
- appveyorTest
|
- /appveyor*/
|
||||||
- /visual*/
|
- /visual*/
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
@ -92,9 +92,9 @@
|
|||||||
cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
|
cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
|
||||||
appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
|
appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
|
||||||
cp zstd.exe ..\bin\zstd.exe &&
|
cp zstd.exe ..\bin\zstd.exe &&
|
||||||
git clone --depth 1 --branch master https://github.com/facebook/zstd &&
|
git clone --depth 1 --branch release https://github.com/facebook/zstd &&
|
||||||
cd zstd &&
|
cd zstd &&
|
||||||
git archive --format=tar master -o zstd-src.tar &&
|
git archive --format=tar release -o zstd-src.tar &&
|
||||||
..\zstd -19 zstd-src.tar &&
|
..\zstd -19 zstd-src.tar &&
|
||||||
appveyor PushArtifact zstd-src.tar.zst &&
|
appveyor PushArtifact zstd-src.tar.zst &&
|
||||||
certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.tar.zst.sha256.sig &&
|
certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.tar.zst.sha256.sig &&
|
||||||
|
@ -53,7 +53,7 @@ __`Frame_Size`__
|
|||||||
The total size of the skippable frame, not including the `Skippable_Magic_Number` or `Frame_Size`.
|
The total size of the skippable frame, not including the `Skippable_Magic_Number` or `Frame_Size`.
|
||||||
This is for compatibility with [Zstandard skippable frames].
|
This is for compatibility with [Zstandard skippable frames].
|
||||||
|
|
||||||
[Zstandard skippable frames]: https://github.com/facebook/zstd/blob/master/doc/zstd_compression_format.md#skippable-frames
|
[Zstandard skippable frames]: https://github.com/facebook/zstd/blob/release/doc/zstd_compression_format.md#skippable-frames
|
||||||
|
|
||||||
#### `Seek_Table_Footer`
|
#### `Seek_Table_Footer`
|
||||||
The seek table footer format is as follows:
|
The seek table footer format is as follows:
|
||||||
|
@ -3258,7 +3258,7 @@ size_t ZSTD_loadCEntropy(ZSTD_compressedBlockState_t* bs, void* workspace,
|
|||||||
|
|
||||||
/* Dictionary format :
|
/* Dictionary format :
|
||||||
* See :
|
* See :
|
||||||
* https://github.com/facebook/zstd/blob/master/doc/zstd_compression_format.md#dictionary-format
|
* https://github.com/facebook/zstd/blob/release/doc/zstd_compression_format.md#dictionary-format
|
||||||
*/
|
*/
|
||||||
/*! ZSTD_loadZstdDictionary() :
|
/*! ZSTD_loadZstdDictionary() :
|
||||||
* @return : dictID, or an error code
|
* @return : dictID, or an error code
|
||||||
|
@ -236,7 +236,7 @@ size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx,
|
|||||||
|
|
||||||
/* Default FSE distribution tables.
|
/* Default FSE distribution tables.
|
||||||
* These are pre-calculated FSE decoding tables using default distributions as defined in specification :
|
* These are pre-calculated FSE decoding tables using default distributions as defined in specification :
|
||||||
* https://github.com/facebook/zstd/blob/master/doc/zstd_compression_format.md#default-distributions
|
* https://github.com/facebook/zstd/blob/release/doc/zstd_compression_format.md#default-distributions
|
||||||
* They were generated programmatically with following method :
|
* They were generated programmatically with following method :
|
||||||
* - start from default distributions, present in /lib/common/zstd_internal.h
|
* - start from default distributions, present in /lib/common/zstd_internal.h
|
||||||
* - generate tables normally, using ZSTD_buildFSETable()
|
* - generate tables normally, using ZSTD_buildFSETable()
|
||||||
|
@ -28,7 +28,7 @@ desktop machine for every pull request that is made to the zstd repo but can als
|
|||||||
be run on any machine via the command line interface.
|
be run on any machine via the command line interface.
|
||||||
|
|
||||||
There are three modes of usage for this script: fastmode will just run a minimal single
|
There are three modes of usage for this script: fastmode will just run a minimal single
|
||||||
build comparison (between facebook:dev and facebook:master), onetime will pull all the current
|
build comparison (between facebook:dev and facebook:release), onetime will pull all the current
|
||||||
pull requests from the zstd repo and compare facebook:dev to all of them once, continuous
|
pull requests from the zstd repo and compare facebook:dev to all of them once, continuous
|
||||||
will continuously get pull requests from the zstd repo and run benchmarks against facebook:dev.
|
will continuously get pull requests from the zstd repo and run benchmarks against facebook:dev.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ import urllib.request
|
|||||||
|
|
||||||
GITHUB_API_PR_URL = "https://api.github.com/repos/facebook/zstd/pulls?state=open"
|
GITHUB_API_PR_URL = "https://api.github.com/repos/facebook/zstd/pulls?state=open"
|
||||||
GITHUB_URL_TEMPLATE = "https://github.com/{}/zstd"
|
GITHUB_URL_TEMPLATE = "https://github.com/{}/zstd"
|
||||||
MASTER_BUILD = {"user": "facebook", "branch": "dev", "hash": None}
|
RELEASE_BUILD = {"user": "facebook", "branch": "dev", "hash": None}
|
||||||
|
|
||||||
# check to see if there are any new PRs every minute
|
# check to see if there are any new PRs every minute
|
||||||
DEFAULT_MAX_API_CALL_FREQUENCY_SEC = 60
|
DEFAULT_MAX_API_CALL_FREQUENCY_SEC = 60
|
||||||
@ -264,11 +264,11 @@ def main(filenames, levels, iterations, builds=None, emails=None, continuous=Fal
|
|||||||
for test_build in builds:
|
for test_build in builds:
|
||||||
if dictionary_filename == None:
|
if dictionary_filename == None:
|
||||||
regressions = get_regressions(
|
regressions = get_regressions(
|
||||||
MASTER_BUILD, test_build, iterations, filenames, levels
|
RELEASE_BUILD, test_build, iterations, filenames, levels
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
regressions = get_regressions_dictionary(
|
regressions = get_regressions_dictionary(
|
||||||
MASTER_BUILD, test_build, filenames, dictionary_filename, levels, iterations
|
RELEASE_BUILD, test_build, filenames, dictionary_filename, levels, iterations
|
||||||
)
|
)
|
||||||
body = "\n".join(regressions)
|
body = "\n".join(regressions)
|
||||||
if len(regressions) > 0:
|
if len(regressions) > 0:
|
||||||
@ -320,7 +320,7 @@ if __name__ == "__main__":
|
|||||||
builds = [{"user": None, "branch": "None", "hash": None}]
|
builds = [{"user": None, "branch": "None", "hash": None}]
|
||||||
main(filenames, levels, iterations, builds, frequency=frequency, dictionary_filename=dictionary_filename)
|
main(filenames, levels, iterations, builds, frequency=frequency, dictionary_filename=dictionary_filename)
|
||||||
elif mode == "fastmode":
|
elif mode == "fastmode":
|
||||||
builds = [{"user": "facebook", "branch": "master", "hash": None}]
|
builds = [{"user": "facebook", "branch": "release", "hash": None}]
|
||||||
main(filenames, levels, iterations, builds, frequency=frequency, dictionary_filename=dictionary_filename)
|
main(filenames, levels, iterations, builds, frequency=frequency, dictionary_filename=dictionary_filename)
|
||||||
else:
|
else:
|
||||||
main(filenames, levels, iterations, None, emails, True, frequency=frequency, dictionary_filename=dictionary_filename)
|
main(filenames, levels, iterations, None, emails, True, frequency=frequency, dictionary_filename=dictionary_filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user