versioning

App Store Version Numbers - Changing Scheme / Best Practices

随声附和 提交于 2019-12-04 17:03:24
We are contemplating changing the version number in the next release of an iOS app from using the traditional Major.Minor.Patch version number scheme to instead use a date based scheme such as 2012.month.patch to better reflect to our users the currency of the app. Apple's only version number guidance in iTunes Connect is as follows: The version number of the app you are adding. Numbering should follow typical software versioning conventions (for example, 1.0 or 1.0.1 or 1.1). My question - do they enforce this traditional scheme? Is there any downside to using a date based scheme? Are there

Ways to version WCF services

扶醉桌前 提交于 2019-12-04 16:47:35
Is there a nice way to version the data types and methods in WCF services? Something like this would be nice to include a method in version 1.0 to version 4.5. [ServiceContract()] interface ITradeTrackingService { [OperationContract()] [Version(1.0, 4.5)] void PublishQuote(Quote quote); } And something simular on datatypes. Then i would like to in my url do like this: server.com/ws/2.3/ And then in my Global.asax BeginRequest do something like this: protected void Application_BeginRequest(object sender, EventArgs e) { Service.Version = someParsingOfUrl(); // return 2.3; } And then the correct

how to use the GetFileVersionInfo function?

泪湿孤枕 提交于 2019-12-04 16:43:10
I have this code - that is returning the file version (into a struct) I'm using as example the shell32.dll but there are some values that I don't understand their meanings , and would love to get an explanation. here is the code : void GetFileVersion( PCHAR pFilePath ,PVERSION pRetVersion) { DWORD dwSize = 0; BYTE *pVersionInfo = NULL; VS_FIXEDFILEINFO *pFileInfo = NULL; UINT pLenFileInfo = 0; /*getting the file version info size */ dwSize = GetFileVersionInfoSize( pFilePath, NULL ); if ( dwSize == 0 ) { printf( "Error in GetFileVersionInfoSize: %d\n", GetLastError() ); return; } pVersionInfo

Why are they some new releases of Python 3 on older Python 3 versions?

寵の児 提交于 2019-12-04 12:58:28
Right now, on the "All releases" page of the Python Software Foundation website, the "Download latest release" links to the Python 3.6.4 version. However, you can find on the page that the release is from the 2017-12-19 and there has been two others release since, for Python 3.5.5 and Python 3.4.8 . I understand why there is two parallel version of Python with 3 and 2.7, but I do not understand why they are multiple versions of Python 3, as it should be backward compatible with Python 3 code. x.y.Z point releases are usually bug fix releases . x.Y releases are usually feature releases, but

How to setup admin approval a model's edits

馋奶兔 提交于 2019-12-04 12:00:20
问题 I need a system where a regular user can edit a model but the edits don't actually happen until they are approved by an administrator. I found a gem called paper_trail that does had model versioning but doesn't support specifically what I want to do. I'm wondering how other people have handled this problem. I should add that there are also associations that I would like to be able for the user to edit at the same time. They aren't very complicated, for example one is aliases. The more

How to implement Auditing/versioning of Table Modifications on PostgreSQL

佐手、 提交于 2019-12-04 11:41:31
问题 We're implementing a New system using Java/Spring/Hibernate on PostgreSQL. This system needs to make a copy of Every Record as soon as a modification/deletion is done on the record(s) in the Tables(s). Later, the Audit Table(s) will be queried by Reports to display the data to the users. I was planning to implement this auditing/versioning feature by having a trigger on the table(s) which would make a copy of the modified row(deleted row) "TO" a TABLE called ENTITY_VERSIONS which would have

Increment the build number automatically

Deadly 提交于 2019-12-04 11:37:26
I have two projects in solution. One is version 3.0.0.* and the other is 2.0.0.*. I build my solution on Team City using an MSBuild script. How can I inject the build number portion of the version string into the AssemblyVersion attribute leaving the major.minor.patch as defined at dev time. To put it another way I want to manually control major.minor.patch (and the majors will differ across libs in the solution) but auto increment the build number. TeamCity will automatically manage the AssemblyVersion attributes for you, but there are a few caveats: It will totally overwrite the existing

How to define the version number of a software?

雨燕双飞 提交于 2019-12-04 11:27:48
What is the best method to determine the version number I should use for a software or component? Is there a general rule to set version numbers? I'm pretty sure it is a basic question but I didn't find anything useful after searching a while. I've been doing this as an interim until I find a better solution. I don't build many large applications, mostly reports and smaller macros, but it's still important for me to keep track of changes and versions. [Current year].[Current month].[Current day] FileName 9.7.17.rpt for example. It works for me and my boss, and it gives a value which you can

SBT - Run Task to set a SettingKey

…衆ロ難τιáo~ 提交于 2019-12-04 11:21:51
So my general problem is that I want to set the version key based on the result of a task. However the version key is set before the task is run. From what I understand I can't change the value of a key once it is set so I can't change this within my task. What I want to do is run the task as a dependency to the publish task and change the value for version. I feel like there must be a way to do this, but I have no clues at the moment. Any help would be greatly appreciated. The sbt-release plugin does this by writing an sbt file in the root of the project containing the correct version. Maybe

What is a useful Branch Versioning Strategy?

青春壹個敷衍的年華 提交于 2019-12-04 11:12:46
问题 We have moved to a product versioning approach which will mark/increment builds according to the following format: [Major].[Minor].[Build].[Revision/Patch] , and a production release will essentially be an increment of Major or Minor (depending on the scope of changes). This works great for patches and Trunk builds, but not so well for concurrent feature development in branches - especially as it is likely we would build release candidates off the branch instead of merging to the Trunk and