-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38280/#review98518
-----------------------------------------------------------



.gitignore (line 14)
<https://reviews.apache.org/r/38280/#comment155011>

    The gradle task seems to be writing `build.properties` to `dist/` is this 
needed?



build-support/generate-build-properties (line 29)
<https://reviews.apache.org/r/38280/#comment155014>

    Is it possible to check if we are in a git repo via the git binary? As it 
stands this script is prone to breakage if we move it in the repo.



commons/src/main/java/org/apache/aurora/common/util/BuildInfo.java (line 39)
<https://reviews.apache.org/r/38280/#comment155016>

    This should be Optional<Properties> and defaulted to Optional.absent().



commons/src/main/java/org/apache/aurora/common/util/BuildInfo.java (line 63)
<https://reviews.apache.org/r/38280/#comment155017>

    We should call `fetchProperties` in the constructor that accepts a resource 
path. There is no need to delay scanning the classpath until the data is needed.



commons/src/main/java/org/apache/aurora/common/util/BuildInfo.java (line 85)
<https://reviews.apache.org/r/38280/#comment155018>

    This should return Optional<Properties> since it is possible for the 
build.info to not be available.


- Zameer Manji


On Sept. 10, 2015, 5:24 p.m., Joe Smith wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38280/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 5:24 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Bill Farner.
> 
> 
> Bugs: AURORA-1473
>     https://issues.apache.org/jira/browse/AURORA-1473
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Restore build properties within Scheduler vars endpoint and snapshots
> 
> 
> Diffs
> -----
> 
>   .gitignore 6c37128b5d02b0e52eb467be3652a37b10d7bc06 
>   api/src/main/thrift/org/apache/aurora/gen/storage.thrift 
> 670ba0850987308370e3c766048ad6ba246d9e29 
>   build-support/generate-build-properties PRE-CREATION 
>   build.gradle 9c78aff101793b25e4c1196c170eaf282f73a9bf 
>   
> commons/src/main/java/org/apache/aurora/common/application/modules/StatsModule.java
>  3959ce3d688dd50399185925d91f0014fc1c43f9 
>   commons/src/main/java/org/apache/aurora/common/util/BuildInfo.java 
> PRE-CREATION 
>   
> commons/src/main/java/org/apache/aurora/common/util/testing/FakeBuildInfo.java
>  PRE-CREATION 
>   
> src/main/java/org/apache/aurora/scheduler/storage/backup/TemporaryStorage.java
>  d76596c7422786e58b5a8aa79f324911cfd29b25 
>   
> src/main/java/org/apache/aurora/scheduler/storage/log/SnapshotStoreImpl.java 
> 50838de8708d78fc0bd7ee672b7c7ba02dfcd505 
>   src/test/java/org/apache/aurora/scheduler/storage/backup/RecoveryTest.java 
> cc9c066556385c073962903691c037b0c07cc94c 
>   
> src/test/java/org/apache/aurora/scheduler/storage/log/SnapshotStoreImplTest.java
>  6e032a6cef86e5f408bfc0d853a52c7f898d0db8 
> 
> Diff: https://reviews.apache.org/r/38280/diff/
> 
> 
> Testing
> -------
> 
> `./gradlew build -Pq`
> 
> 
> Thanks,
> 
> Joe Smith
> 
>

Reply via email to