-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display version numbers in builds #1128
Conversation
README.md
Outdated
```bash | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-Linux/Cosmos\ Voyager.app | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-macOS/Cosmos\ Voyager.app | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-Windows/Cosmos\ Voyager.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably not correct for either Window nor Linux ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because the file is not called .app
on neither Windows nor Linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahhh my mistake.
@cosmos/cosmos-ui could use some help with the tests here. not sure how to properly mock |
Checkout https://github.com/cosmos/voyager/blob/develop/test/unit/helpers/electron_mock.js where we already mock several other properties of electron. |
Codecov Report
@@ Coverage Diff @@
## develop #1128 +/- ##
===========================================
+ Coverage 95.89% 95.89% +<.01%
===========================================
Files 79 79
Lines 1584 1585 +1
Branches 74 74
===========================================
+ Hits 1519 1520 +1
Misses 58 58
Partials 7 7
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to open isn't correct for Windows/Linux
README.md
Outdated
Then open the Cosmos Voyager.app: | ||
|
||
```bash | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-Linux/Cosmos\ Voyager.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^ the simple solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the documentation was out of date. i tried to update it - but i think it's unnecessary.
README.md
Outdated
open builds/Cosmos-{platform}-x64/Cosmos.app | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-Linux.tar.gz | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-macOS.zip | ||
open builds/Voyager/Cosmos_Voyager-v0.9.4-Windows.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this tested?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what you mean. if the user is in the correct directory it should open and unzip the files.
open builds/Cosmos-{platform}-x64/Cosmos.app
doesn't work for any platform because we put builds in /Voyager
now.
is there something i need to be looking out for that i'm not thinking of?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no open
cmd on Windows/Linux ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a proposal, let me know what you think.
README.md
Outdated
``` | ||
|
||
You can specify `--help` to see all options with explanations. | ||
|
||
Run the app. | ||
Unzip the app version for your OS: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unzip? untar? unpack? also should we include the command?
tar -zxvf yourfile.tar.gz
@@ -4,7 +4,7 @@ let testRoot = "./test/unit/tmp/test_root/" | |||
|
|||
function mockGenesis() { | |||
process.env.COSMOS_NETWORK = "./networks/gaiaiaiaiaiaia/" | |||
process.env.GAIA_VERSION = "1.2.3-asdf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do they no longer follow this format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jordan preprocesses it on the setter.
README.md
Outdated
open builds/Cosmos-{platform}-x64/Cosmos.app | ||
``` | ||
- Linux: `builds/Voyager/Cosmos_Voyager-v0.9.4-Linux.tar.gz` | ||
- MacOS: `builds/Voyager/Cosmos_Voyager-v0.9.4-macOS.tar.gz` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but i'm pretty sure this is a .zip
@faboweb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry my mistake
removed specifics in favour of more general explanation
@@ -101,21 +101,17 @@ First [Build Gaia](#build-gaia) and [Download the testnet configurations](#downl | |||
Here's an example build command: | |||
|
|||
```bash | |||
yarn run build --commit=HEAD --network=gaia-7001 | |||
yarn run build --commit=HEAD --network=gaia-7005 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change it to 8000 ?
@@ -3,7 +3,7 @@ | |||
</template> | |||
|
|||
<script> | |||
import { mepGetters } from "vuex" | |||
import { mapGetters } from "vuex" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOL great catch !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Closes #1043