-
Notifications
You must be signed in to change notification settings - Fork 864
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
WIP - Packaging #514
WIP - Packaging #514
Conversation
I added some closes to your comment so the issues are closed when this gets merged 😄 |
@victorbjelkholm @hacdias what's missing to make this happen? |
@diasdavid verifying that the osx build actually works. It successfully built but has not been verified by anyone yet. Then getting the builds for linux and windows to produce artifacts, working on this atm. |
Got all the builds to successfully turn into a package on all OSes. Left is to verify that they actually work. Also, would like to change the version from being the version set in |
8b3a6fc#diff-b9cfc7f2cdf78a7f4b91a753d10865a2L13 screwed me a bit after getting all the builds working and then doing a rebase from master. Fixed this and waiting for build to finish now. (btw, electron-forge does not have the most user-friendly errors, just crashes without any notices, when in reality the icon files were missing) |
Ok, got a successful build of all OSes again.
|
.deb on Ubuntu 16.04.3 is acting weird and not working. After installing, it doesn't add anything to the dash menu or in $PATH, leading to not being able to open the application unless manually executing When manually running the right executable, I get the following error:
So at least two things are not working when installing/packaging for .deb |
Did a quick test on windows and getting the same error as on Ubuntu. Not sure what's wrong in the packaging process. Edit: did test on osx as well and same issue. |
These packages should work better. Please try them and report any issues!
|
Everything working OK on macOS now, more testing would be welcome though! Ubuntu version is still acting up, now getting the following error:
Seems the Windows version pops up some weird code editor animation for a minute or something like that (probably want to replace with the IPFS logo or similar before proper release [also has the default winforms icon in the task bar]) which then just disappears without any notice, and now station is installed? Anyways, once installed, it doesn't seem to transition from the loading screen to the screen where I can actually see my node. |
package.json
Outdated
@@ -11,6 +11,7 @@ | |||
"file-extension": "^4.0.0", | |||
"ipfs-api": "^17.1.3", | |||
"ipfs-geoip": "^2.3.0", | |||
"ipfs-logo": "^0.2.0", |
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.
You should not need this anymore. Make sure to rebase master onto this branch @victorbjelkholm
The installer above works for me on windows, but the icons are broken. Please rebase into master. I also have to update the icons on package.json since they're still using ipfs-logo. |
I poked around the macOS version linked from the dmg above. Based on my limited experience with running it from Terminal, the behavior appears consistent. Is there a plan to use a station-specific icon for the .app or to retain the IPFS cube? |
ElectronForge uses Squirrel installers for windows whose slogan is "Squirrel: It's like ClickOnce but Works™". I think you can take your conclusions about "disappears without any notice" 😄 We could replace the animation by some image saying "IPFS Station is being installed" and then the logo of IPFS. I think it is effective to install and easy to use. The only problem I can found is that I don't know if it is possible to remove the |
@hacdias let's avoid using the word cosmos as it might confuse users with another P2P Network. Try perhaps "Becoming InterPlanetary" |
@victorbjelkholm jenkins says the last build was 7 days ago. Am I looking in the wrong place? |
@hacdias yes, that's the wrong place. Correct latest build associated with this PR is in the status check for easy access. Just click on "Show all checks", then click on "Details" to the right of the "continuous-integration/jenkins/pr-merge" job. You should be taken to https://ci.ipfs.team/blue/organizations/jenkins/IPFS%20Shipyard%2Fstation/detail/PR-514/22/pipeline then which is the latest job. Shows up as "3 hours ago" for me. |
We should also take a look at this since Windows executables must be signed in order not to blocked by antivirus and/or windows firewall. |
@victorbjelkholm I think the installers are not working since it is packaging the old version somehow. |
What about merging this PR and working from master? So that you are sure that you are working in the latest |
Yeah, I agree @diasdavid |
OSX build seems to work fine, ends up with a
.dmg at least
.Linux fails on RPM builds.
Example artifacts: https://ci.ipfs.team/blue/organizations/jenkins/IPFS%20Shipyard%2Fstation/detail/packaging/5/artifacts/
Missing waiting for windows. Will continue with this
Close #508, close #20 and close #16.