versioning

Core Data Versioning manually

早过忘川 提交于 2019-12-20 14:12:17
问题 I developed an app, iCollege, and now I want to make the app much better. While the testing I wanted to restore the data from a backup. At launching iCollege the app crashes because it could not be versioned by Core Data. My question now is if it is possible to version a Core Data file manually, i.e. going through every Managed Object of the existing file and fit the objects to the active Model Version. Is something like that possible? EDIT: Thank you very much for your fast and detailed

Serialization and object versioning in C#

让人想犯罪 __ 提交于 2019-12-20 12:22:47
问题 If I want to serialize an object I have to use [Serializable] attribute and all member variables will be written to the file. What I don't know how to do versioning e.g. if I add a new member variable (rename a variable or just remove a variable) and then I open (deserialize) the file how can I determine the object/file version so I can correctly set the new member or take some kind of migration? How can I determine that the variable was initialized during the load or not (ignored by

Develop Version Numbering for an Application

放肆的年华 提交于 2019-12-20 10:43:09
问题 Firstly, I think this forum is not appropriate for my question, so if it is in wrong place, kindly forgive and place wherever appropriate. I didn't find proper forum for my question. I have developed a C# application (Win Forms). Now I need to handle its version numbering. I can't make out what is the best way to do. I want the version number to be simple something like 1.2 or 1.2.1. I read about SVN Version, but that also seems little confusing at this stage. There are different version

Xamarin mobile app version number scheme across 3 platforms

南笙酒味 提交于 2019-12-20 10:29:48
问题 There's probably multiple questions here all related. I'm trying to come up with a simple version number update scheme for our 3 mobile apps built from a single xamarin solution. What I'm looking for is a simple way to keep all these values in sync with one another without having to go around and update them all individually. Windows Phone Version should get set to the AssemblyVersion or FileVersion Automatically IOS Version Number should be set to same. (not sure what the build number should

Cannot get assembly version for footer

拈花ヽ惹草 提交于 2019-12-20 09:48:21
问题 I'm using the automatic build versioning mentioned in this question (not the selected answer but the answer that uses the [assembly: AssemblyVersion("1.0.*")] technique). I'm doing this in the footer of my Site.Master file in MVC 2. My code for doing this is as follows: <div id="footer"> <a href="emailto:webmaster@foo.com">webmaster@foo.com</a> - Copyright © 2005-<%= DateTime.Today.Year.ToString() %>, foo LLC. All Rights Reserved. - Version: <%= Assembly.GetEntryAssembly().GetName().Version

Best way to version a rails app? [closed]

陌路散爱 提交于 2019-12-20 09:37:13
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . What would be the best way to version a rails application? We want to start to get into more structured testing cycles and having a

FileVersionInfo and AssemblyInfo

老子叫甜甜 提交于 2019-12-20 09:11:50
问题 Given this snippet from Blah.dll's AssemblyInfo.cs: [assembly: AssemblyVersion("3.3.3.3")] [assembly: AssemblyFileVersion("2.2.2.2")] And then in a separate .exe: var fileInfo = FileVersionInfo.GetVersionInfo("/path/to/Blah.dll"); fileInfo.ProductVersion == fileInfo.FileVersion == true; Other SO questions show ProductVersion being "correct", curious if there is something odd about how I'm using it. Shouldn't ProductVersion be "3.3.3.3" and FileVersion be "2.2.2.2"? What would cause it to

Git: Manage each version of my app?

老子叫甜甜 提交于 2019-12-20 08:11:38
问题 I am using git and github, and I just finished the 1.0 version of my iOS app. From here, I am wondering how git can best serve me. I really am just looking for a best practice here, and what others recommend for managing major versions. Should I create a new branch for each new version, such as for 1.1, 1.5, 2.0, etc? Or should I just keep pushing to the master branch? If so, how do I do this? 回答1: I would recommend using tags (tag tutorial) From your master branch since you are done v1.0 add

Where do you store your Rails Application's version number?

时光毁灭记忆、已成空白 提交于 2019-12-20 08:10:28
问题 We use the wonderful semantic versioning paradigm when versioning our rails app. One question I had was where is it best to store this number? I've seen it stored in /lib , environment.rb , etc. Just wondering what people thought as to best practices? 回答1: I don't really think there's any convention for this. I guess it's all about what seems natural to you. Some places the version number can be placed are in: config/environment.rb config/application.rb config/initializers/version.rb by

Why does the Gemfile semantic versioning operator (~>) produce inconsistent results with one number?

China☆狼群 提交于 2019-12-19 18:16:12
问题 The gemspec semantic versioning operator ~> (aka twiddle-wakka, aka pessimistic operator) allows a gem version to be constrained yet allow some upgrades. I have often seen that it can be read as: "~> 3.1" => "Any version 3.x, but at least 3.1" "~> 3.1.1" => "Any version 3.1.x, but at least 3.1.1" But with one number, this rule breaks down: "~> 3" => "Any version x, but at least 3" *NOT TRUE!* "~> 3" => "Any version 3.x" *True. But why?* If I wanted "Any version 3.x", I could just use "~> 3.0"