-
Notifications
You must be signed in to change notification settings - Fork 163
update binary download #170
Comments
Downloads has been obsoleted and replaed with Releases: https://github.com/blog/1547-release-your-software But we don't use either at the moment. You can grab the latest bits from @JakeGinnivan's TeamCity server: http://teamcity.ginnivan.net/viewLog.html?buildId=5864&tab=artifacts&buildTypeId=bt52 I'll leave this open to see if we can't get proper releases documented and linked back on the site. |
The teamcity link above is not a public link. Also his wiki page should be updated to link to the latest location: |
@markvantilburg just click the 'Login as guest' button |
Oops, fixed: http://teamcity.ginnivan.net/viewLog.html?buildId=5864&tab=artifacts&buildTypeId=bt52&guest=1 |
But @shiftkey is right, we should fix the release. I think its at http://chocolatey.org/packages/pretzel too |
How about pushing a new version to chocolatey. The version there is outdated and even displays a security notice - might scare some people :) |
I don't have rights to publish a new package - can you add me @JakeGinnivan or can I leave this with you? |
Pushed new package and added you as a maintainer @shiftkey |
Thanks @JakeGinnivan |
Would be great i fo use a CI server (like TeamCitiy or Appveyor) to create a new compiled version with every commit to master. Then automatically push the artifacts (compiled) to Github Releases http://www.appveyor.com/docs/deployment/github and Chocolatey |
Since it was the build & deploy tool in place when I arrived I'd prefer to use Team City, but it doesn't play well with GitHub so I think to switch to AppVeyor. |
Not sure if this is helpful for you guys https://github.com/dazinator/GithubReleaseCreator |
Thanks but this part is handled directly by AppVeyor: http://www.appveyor.com/docs/deployment/github
An alternative could be to call the GitHub API to create a release but I prefer a manual action to launch the deploy. |
What about deploying to Chocolatey? It's basically a NuGet feed and NuGet package, could we trick this into deploying a built package? |
The Nuget Deployment Provider on AppVeyor does not let us define the source server, but we can invoke nuget directly: EDIT: I was wrong, it is in fact possible to specify the server URL 😄 |
@shiftkey I am trying to add code coverage to the AppVeyor build with coveralls.io but only the admin of the GitHub repo can have access to the repo token. |
About the chocolateyInstall.ps1 script, is there a reason that the package installs in c:\tools and not in the lib folder of chocolatey? |
@shiftkey, @JakeGinnivan If that's ok with you I will update the chocolateyInstall to install Pretzel in the chocolatey/lib folder like the other package and uninstall the previous version/path of pretzel. |
Yep, just email me jake at Ginnivan dot net with your Chocolatey username and I'll sort that out Sent from my Windows Phone From: Jérémie Bertrandmailto:[email protected] @Shiftkeyhttps://github.com/Shiftkey, @JakeGinnivanhttps://github.com/JakeGinnivan If that's ok with you I will update the chocolateyInstall to install Pretzel in the chocolatey/lib folder like the other package and uninstall the previous version/path of pretzel. — |
Thanks! |
i downloaded this from chocolatey: pretzel.0.1.0.165\tools\chocolateyInstall.ps1 |
Yes, the package haven't been updated yet. |
Probably worth pushing a new release so the chocolatey package is not broken? |
I was planning to do that today. |
Yep, that sounds good |
Ok, that was a little bit laborious but it is done! 😃
If you prefer another process just let me know. |
Up to you, but I tend to use https://github.com/ParticularLabs/GitVersion for versioning. So the builds will constantly build the next version to deploy. Then the deploy process is
Then GitVersion sees the tag and the version is automatically bumped. http://jake.ginnivan.net/blog/2014/07/09/my-typical-teamcity-build-setup/ talks a bit about the idea. Happy with whatever you choose though |
Yes, I already read your article which is great by the way. |
pretty sure @gep13 has sorted the appveyor support with GitVersion story. He can probably point you at the scripts chocolatey uses with GitVersion |
Thanks for the tip. |
@laedit @JakeGinnivan just wanted to chime in here... Yes, ChocolateyGUI makes use of GitVersion to get the current version number, based on the state of the repository. GitVersion has out of the box support for AppVeyor, and it allows the setting of the current build number, as well as setting environment variables that can be consumed in other parts of your build process. For ChocolateyGUI, we call GitVersion here: https://github.com/chocolatey/ChocolateyGUI/blob/develop/BuildScripts/default.ps1#L375 Which sets the Build Number so AppVeyor correctly reports it in the Web Interface, and also updates the applications AssemblyInfo.cs files, and then here: https://github.com/chocolatey/ChocolateyGUI/blob/develop/BuildScripts/default.ps1#L376 We immediately set a script level variable to the value of the generated Environment Variable by GitVersion, that is then used when packaging the associated Chocolatey Package. We tend to do the latter in the build script, rather than relying on any specific features of AppVeyor, that way, if we needed to, it would be a small change to move to another CI platform. Hope that helps! If you have any questions, feel free to ask. |
This is/was part of the moderation process that was recently added to Chocolatey.org. We are trying to improve the overall quality of packages by ensuring that all packages go through (at the minute) a manual moderation process. This is hoping to be replaced with an automated approval process. For more information on the moderation process, you can see the blog post here: http://codebetter.com/robreynolds/2014/10/27/chocolatey-now-has-package-moderation/ |
Just a small note on this... If this is something that happens with Pretzel, or other packages that target Chocolatey.org, you might run into some issues. When a packages hit the moderation queue, it isn't immediately available, instead, we wait and make sure that there aren't any issues with the package version. If there are issues, we will ask you to fix them, and then push the same package version again. If your CI process creates a new package version number each commit, then this will likely run into issues. |
@gep13 INMO that a package does not have any issue is reposanbility of the creator or the software no of Chocolatey. So I would allow creationg in the CI process and not a human validation by Chocolatey. It is not its responsability |
@ricardopolo Since chocolatey.org is a public facing repository of packages, the Chocolatey Team does have a level of responsibility to ensure that all packages there are what they say they are, and are maintained at a level of quality, so that the end user knows what they are getting. |
@gep13 Thanks a lot for the tips! 😃 |
https://github.com/Code52/pretzel/downloads
The download over there seems to be outdated compared to the master.
The text was updated successfully, but these errors were encountered: