Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/electron/sccache

sccache is ccache with cloud storage
https://github.com/electron/sccache

Merge pull request #56 from flxo/pr-redis

Add a Redis cache variant

7ae4c259873d6bcbb60ad58bd9735581f7ddbe7a authored almost 8 years ago
Use Cargo features for S3 and Redis caches

The S3 and Redis caches are optional during build time.
Enable feature "s3" and/or "redis" to bu...

2349791192444a0d538a01945898250784fd8c93 authored almost 8 years ago
Add a Redis cache variant

This cache module uses a Redis instance. To make sccache use this,
set SCCACHE_REDIS to redis://...

dc31690674d174a05a35b6e082079ecbefa9d453 authored almost 8 years ago
Merge pull request #85 from alexcrichton/less-protobuf

Move from protobuf to bincode for a wire format

a0b7cc114b383b3b626cc10fc4268c73b493034f authored almost 8 years ago
Move from protobuf to bincode for a wire format

This commit migrates away from the `protobuf` crate to instead just working with
bincode on the ...

a996ae6c2a46521364f93511351aa4554175a1f2 authored almost 8 years ago
Update to using the new tokio-io crate

This is an abstraction of the Tokio stack now and doesn't have much impact on
sccache itself but...

76982eee577adf4fcb899bf8830fce4d3e1d3bce authored almost 8 years ago
Merge pull request #79 from alexcrichton/handle-eof

Add timeouts to cache lookups and handle server eofs

9a3447f4cc5b73069a4c046616f786992052c579 authored almost 8 years ago
Add a timeout to cache lookups

This should help ensure that we don't wait *too* long for the cache to respond
(for example on a...

b91b81a8eb6c3529e7bbda473a232059b7a4bdca authored almost 8 years ago
Add some logging to server shutdown

87c5b7b0ff6c209a4ffc178b9ef4a6cb09872370 authored almost 8 years ago
Handle UnexpectedEof from server by compiling locally

I believe this is possible to hit if the compilation takes quite a long time and
times out the s...

6efac2ea00c726a55d2cd6b983eb9d26ebe51b40 authored almost 8 years ago
Fix non-GMT time stamp in HTTP Date header

HTTP requires that all timestamps be in GMT. Posts to S3 were using
localtime with an offset ins...

57a21393422ef9d97fb3406e3b9b0b0097ff755a authored almost 8 years ago
Pre-Rust support refactoring, Part 3

The goal here was to make more of the state that's currently persisted
from `parse_arguments` ->...

3fbb864343d758fbcf3d94cbe513011b0010b1b1 authored almost 8 years ago
Rename Compiler to CompilerInfo

b1c0ce0b9c123425c0a65f06958b8d508f270c3c authored almost 8 years ago
Move the current cache::hash_key into compiler::c

91bde76f0376c54e9c90a10b4ffb3e91d7f4651d authored almost 8 years ago
document rust caveats

8605d60c21a5dd784a0dae2aa48a1289d3d61cad authored almost 8 years ago
Add support for caching Rust compilation.

28bf88226bab39dc22222f8c8489abb1a1e1fce9 authored almost 8 years ago
Pre-Rust support refactoring, Part 2

The goal here was to make the state that persists between running the
preprocessor and running t...

95082ad60518550d946b8384124969b0a6995175 authored almost 8 years ago
Parse dep-info files on the cpu pool

907ed3b3520f58080f4413492fe66e939f1a70c6 authored almost 8 years ago
Add some more timings into the logs

4c43c8ef9ada822abc0ae96ce8d6f8b75e2beea6 authored almost 8 years ago
Change the parameters of get_cached_or_compile from borrowed to owned

5a64e0fe1d96255493d01b20b7caa2f6808e490f authored almost 8 years ago
Change Rust hash key generation to include hashes of shared libs from $sysroot/lib instead of compiler executable.

This changeset removes `CompilerInfo` entirely, moving `get_cached_or_compile`
into the `Compile...

1d3f8e18d734fde5aa17efbc77708ba44e9f9709 authored almost 8 years ago
Pre-Rust support refactoring, Part 1

Pull the "run the preprocessor and generate the hash key" chunk of
`get_cached_or_compile` out i...

4c5b8298d54b86a67c045c43599a6d2a2bfa5fb6 authored almost 8 years ago
fix some warnings on windows

74a83818843655dc192dd68d2756fbbee9097e53 authored almost 8 years ago
Store file permissions for files in cache

cf7b400c9023354b50c0fd34d539121659189df3 authored almost 8 years ago
Merge pull request #90 from alexcrichton/segfault-info

Try to get more info out of server crashes

5c77c337356951cb7bde5c40d6845f459dfc8312 authored almost 8 years ago
Try to get more info out of server crashes

Apply two separate techniques:

* Ensure that core dumps come out of the server by calling `setr...

b9fd4244e6ae276528bf5a4465460fbd516fb463 authored almost 8 years ago
Go back to raw process spawning on Windows

Unfortunately a crucial detail I missed is that the previous incarnation of this
function set `b...

b1c66d4aa5d98a0ad07d14a5f7e6438aedc54d3c authored almost 8 years ago
Update futures dependency required by futures-cpupool

Shoulda run the last commit through CI!

5a20118ca56ff3c3fa9e2349fa348e61a70e3aec authored almost 8 years ago
Update the futures-cpupool dependency

Previous versions of futures-cpupool depended on crossbeam which unfortunately
has known segfaul...

5f6932b6b6fc22528f7cb0a02385b02b80ca7fef authored almost 8 years ago
Remove dependency on `named_pipe`

I was sporadically receiving a segfault locally when trying to debug issues on
Windows and in tr...

8968eba6c9ad6c57a390240d5e65f64c1e5cefdc authored almost 8 years ago
Print out the full backtrace of errors on compile errors

81edc56a7a91512fc8b52934d278fd58757e562a authored almost 8 years ago
Merge pull request #82 from TimNN/patch-1

Don't silently ignore errors

5a045278571f8687c53634c9d57adb4726c3b046 authored almost 8 years ago
Don't silently ignore errors.

596a0c0924f328b46927aa5e75740b104d904ef4 authored almost 8 years ago
Merge pull request #76 from alexcrichton/update-mio-named-pipes

Update mio-named-pipes

1e6c6fc1e7cfdde6571215b1e03aa88a4ef93686 authored almost 8 years ago
Merge pull request #75 from alexcrichton/upgrade-gcc

Update gcc crate in Cargo.lock

daa9a6564d291866ae54028e541711f7d77a33b9 authored almost 8 years ago
Merge pull request #74 from alexcrichton/borrow-mut-no

Prevent double borrow_mut() error

985439a8ae0104fc02f1ecb97b7930a0b6e6f4cb authored almost 8 years ago
Update mio-named-pipes

This fixes a bug in EOF handling which can cause spurious failures on Windows

01a057215df95767abfe9f35d87afe22a7a947ea authored almost 8 years ago
Update gcc crate in Cargo.lock

Picks up support for `-C target-feature=+crt-static` on MSVC and such

4eb8218848f99089cc462ac2d81ebc099e238614 authored almost 8 years ago
Prevent double borrow_mut() error

Mistake left in from a refactoring I made unfortunately

374634ccb9cab32ae6a9aead6a50629ac857f7d1 authored almost 8 years ago
Update Rust version requirement to 1.13 in README. Fixes #73

96de60c0182b1d589924d8305d903b46848e629f authored almost 8 years ago
Don't include the compiler path as an input to the cache key

9895290a2144e78a202eb6518840dfb62f98fd48 authored almost 8 years ago
Fix hash calculation by using arguments instead of parsed args

For the hash calculation the full argument list should be used
and not only the common args from...

69ca2c1932ef7b79f1e4fce51985f9cbe935fab9 authored almost 8 years ago
Removed invalid and wrong test

The hash_key function cannot be tested for a equal key with
different output files, because the ...

6209b3f186da011c01c28c90c18a13c6ae0859e7 authored almost 8 years ago
Remove out file from hash generation

The name and path of the output file of a compilation shall
not be used for the hash calculation...

e0ba9c05de44c5ea36b4cb6da7950ff8e69bfa29 authored almost 8 years ago
Reimplement get_cached_or_compile with futures

This commit just takes the synchronous version and reimplements it with
futures, using necessary...

5f14d0be22c1c694c83858ada41a7adad69f7da5 authored almost 8 years ago
Knock out a TODO by printing termination signal

Print out the signal if the child terminated with one.

286df9b93571687d72ef41f8a282312283986053 authored almost 8 years ago
Integrate process spawning with tokio-process

This commit replaces all process spawning with the futures-powered
versions in the `tokio-proces...

6b3e49d9715cdd9282fa68da14cf8660a9204f5d authored almost 8 years ago
Integrate the Tokio branch of Hyper

This commit pulls in Hyper from its master branch which contains the
asynchronous/Tokio integrat...

f388dbd459f674b02f78911d7936b9670af8d126 authored almost 8 years ago
Simplify clones on futures-related paths

This commit lifts out some logic of creation of `Command` structures to simplify
a few code path...

bd2463744194c327da987d4622bc59ddf1657b8a authored almost 8 years ago
Remove raw `poll` in favor of `tokio-uds`

Now that we've got tokio at our fingertips it's much easier to time out simple
operations!

4071f3bc210647abf53cfccbfb467afac2b65721 authored almost 8 years ago
Interpret cache read errors as fatal errors

Previously a cache read error would translate to a cache miss and trigger a full
compilation, bu...

6dba30a3afa512837598f079c5a94bd55468a101 authored almost 8 years ago
Simplify writing temporary files

Add a helper which does all the grungy logic for us.

afebf21a0d3871b53aecb19d10b90461438978fb authored almost 8 years ago
Update mio-named-pipes to fix compile error on windows

0baea5a8b000c2430b0fbc2b38a25d1b932ba637 authored almost 8 years ago
Migrate to an `SFuture` ("sccache future") alias

At the same time also take more advantage of error-chain throughout the codebase

e500e46b351905ce6393414090eabeecba9dd8c7 authored almost 8 years ago
Rewrite the server module with Tokio

This commit rewrites the `server` module of sccache to be backed with Tokio. The
previous versio...

b59a12abfb874f76a625609aa3f68afc4d41cb74 authored almost 8 years ago
Fix a regression in us-east-1 buckets

It looks like the logic in #27 changed the default host name from
$bucket.s3.amazonaws.com to s3...

4415a1e8df25db114e86d5434ae9519fd83b7a89 authored about 8 years ago
Disable default features in error-chain to make the build continue to work with Rust 1.12

898f90824d68d4873da8f9ca5073e3b83d1465c0 authored about 8 years ago
Use error-chain to define Result+Error types, refactor cmdline::parse to use it.

52630820efcf337680be709618647986f92b1522 authored about 8 years ago
Remove unused import

warning: unused import: `std::time::Duration`, #[warn(unused_imports)] on by default
--> src/...

1b2b66fa589fbed539be9c14812d8d5c58b88d67 authored about 8 years ago
Add support for gcc `@file` options

This commit adds support for the `@file` option that gcc/clang supports. This
option means that ...

2b6005293d5a332b51fa112f0ec5bbd0899a5313 authored about 8 years ago
remove set_read_timeout because it's failing on mac. fixes #64

319aacd7bdf2a32d6d05e1cec82584f4ee26a76c authored about 8 years ago
Support sccache being copied/hardlinked to a different name

Resolves #44.

50ee9dd08b77c64adc9a8f3754f3d4d8630e303c authored about 8 years ago
Use CARGO_PKG_NAME as the App name for clap

b4a44a911b8a3754c3eeec7ddd209428ea156420 authored about 8 years ago
Use a named unix socket or named pipe to let the background server notify the client that it started successfully

d83dd03de75efa9ab666ac35d2c54148c6d4a89d authored about 8 years ago
use cargo test --all on nightly

277551dccc38d881b22ad773bb56d99470167289 authored about 8 years ago
tweak build-release for windows

bfa0d2a85b5d05f58f3ab5c67c4a189d7a152cf6 authored about 8 years ago
Fix a panic when a client connection occurs during shutdown. Fixes #63

bb3ba4a5b18544072e1b4c03fbd26d838529b040 authored about 8 years ago
change SCCACHE_ERROR_LOG to open for append

8c083dfccc9a6574b60aef964b8212f76ee39bfb authored about 8 years ago
Add an `SCCACHE_ERROR_LOG` variable to redirect the server's stderr, so

we can get backtraces for unhandled panics.

1db21485e0acf4f238dab83208ea16222c4f9456 authored about 8 years ago
Fix default logging initialization

If none of the logging environment variables are supplied
sccache creates a sccache2.log file on...

0f5d67d42fd78720413f16e8b552088d931ade30 authored about 8 years ago
Zero stats if -z --zero-stats is passed on cmdline

Straight forward implementation of clearing statistics
when -z or --zero-stats is passed on comm...

2bdf30d6911623297bc3274378d40e51aebd00af authored about 8 years ago
Fix average write duration and extend server stats (#52)

* Fix avg write duration and extend server stats

The average duration that is taken by a miss...

f2f69e891c04fb5d9cb1fe46994a22152235d35d authored about 8 years ago
Add a snippet about logging level

d8a28bffade1a83a08b87e7da101e7a359757eff authored about 8 years ago
Fix to enable cargo install

9c8cadc2d11a5f184c640197faa8176e0afce05b authored about 8 years ago
Fix get_cached_or_compile to not return preprocessor stdout if running the preprocessor fails

If running the preprocessor fails (because a #included file was not found, say)
sccache was retu...

2e3ea416f57521a92fdd9b6b16bbf7a1c7bdae41 authored about 8 years ago
Try to use --features=unstable on nightly builds in CI

bcf3a7436f83dbf3e10372a7f4031e889c6bb713 authored about 8 years ago
Don't create consoles for compiler invocations on Windows. Fixes #16.

This fixes the extra console windows that show up when the sccache server
creates compiler proce...

c70dcf258fd71dd2f114930cc308d4d409314847 authored about 8 years ago
Fix races in the get_cached_or_compile tests.

As part of https://github.com/mozilla/sccache/commit/030ed02ab4de07e4e8666258fa3ddbaa2b7986bd I ...

6d7efe9bdc6937e138ba38eda50b2d6b46045257 authored about 8 years ago
Add support for custom s3 endpoint url

Specify a new endpoint with `SCCACHE_ENDPOINT`
such as Minio https://github.com/minio/minio.

If...

aa5e965ac80840a20806dd7cdd2167fd7ebeb305 authored about 8 years ago
Remove caveats about local disk cache from README

decd0b1a99ab33af0ef83ef7e57cea6a7ede0f73 authored about 8 years ago
Document Rust 1.12 as minimum required version, add Travis CI for it

982ff329b26fd21c6b1db81bee21683f10d4155b authored about 8 years ago
implement LruDiskCache

be921be644c8fb81fabeb568d9ecf275131dd4ad authored about 8 years ago
Use my lru-cache branch until the changes land upstream

52d9e699c4bba248e746bd9b06ca3443ccab94a9 authored about 8 years ago
use filetime

4308fa29322091089e88346b50c5a41c4edf40a4 authored about 8 years ago
Make DiskCache limit the size of the on-disk cache by using LruDiskCache. Fixes #29

030ed02ab4de07e4e8666258fa3ddbaa2b7986bd authored about 8 years ago
More friendly README for Rust beginner

c77a8e81dac67b3152361c9003459df61126dca0 authored about 8 years ago
Look for sccache binary in more places in system test. Should fix #37.

a5d18f55ab2d5d72db5b5b2c96b0df27f1c3186b authored about 8 years ago
update readme a bit

10fb1ad1c8b0e6b7cae445951ea03f579ee1b958 authored about 8 years ago
Simplify loop in hash_key().

This also avoids an underflow if args is empty.

5591191bc17da9b96513f2a3832cecf7bcb8d3e8 authored about 8 years ago
Do not cache if Clang modules are specified.

See https://twitter.com/TedMielczarek/status/800813453430624256.

`ccache` doesn't currently sup...

6eadccc9d6752747766d550388590199d87f23a5 authored about 8 years ago
Merge the Rust reimplementation

3da89195ce91a576cc58617d76bbdf7be20bced2 authored about 8 years ago
update readme

5e0451f56cdbb65b6368b16f25abcc5e002b3fc0 authored about 8 years ago
Put sccache rev in tooltool manifests

b21198a7183a2fe226ff49348b1c0b51bae9f4f8 authored about 8 years ago
Pull in app_dirs to get a better default local disk cache location

e8b64ca447ecc778eae39eda16a8d52120cffcd6 authored about 8 years ago
fix AWS_IAM_CREDENTIALS_URL support

89f4b44d01084846893a64137d965ee844fe2d72 authored about 8 years ago
Allow overriding IAM URL with AWS_IAM_CREDENTIALS_URL environment variable

b20d68cd2f913a83992043aeda3275bc2730a2bd authored about 8 years ago
Look in both ~/.aws/credentials and ~/.boto for AWS credentials

534721c84438d95d98036aa2a0ad21a1efcd7acf authored about 8 years ago
stop setting public-read ACL, rely on bucket having it set in policy

a7b5349da1d54ddba72f0640b0d388f0b9d61c00 authored over 8 years ago
oops, name the env var SCCACHE_RECACHE

bfcc6b3ad684e849291c1ba902d66e8c022ee5ed authored over 8 years ago
Don't block sending compile result to client on cache write. Fixes #19.

This change makes `get_cached_or_compile` return a `Future` for the
cache write instead of block...

a41f7e451ecfbcd245b883043357ec227a2b8d19 authored over 8 years ago