versioning

Include a text file content into a WiX script

烈酒焚心 提交于 2019-12-03 17:27:29
Is there a way to read value for the WiX variable from a text file? What I am trying to do is to include a version-specific information into instlal package. This version information extracted into the text file on the pre-build step, the question is how to propages this text file content into a build process. One of the possible solution is to update whole .wxs file on the pre-build step too, but it feel a bit sloppy. Is there any other, less-intrusive way? Thank you. Create a separate file 'includes.wxi', for example like this: <?xml version="1.0" encoding="utf-8"?> <Include Id=

How do you handle versioning on a Web Application?

非 Y 不嫁゛ 提交于 2019-12-03 16:44:42
问题 What are the strategies for versioning of a web application/ website? I notice that here in the Beta there is an svn revision number in the footer and that's ideal for an application that uses svn over one repository. But what if you use externals or a different source control application that versions separate files? It seems easy for a Desktop app, but I can't seem to find a suitable way of versioning for an asp.net web application. NB I'm not sure that I have been totally clear with my

How to offer multiple versions of an API with different database schemas?

泄露秘密 提交于 2019-12-03 15:25:47
In Kevin Goldsmith's 2015 talk about microservices at Spotify (from 15:25 - 17:43), he mentions that when they create a new version of an API they just create a new server, and keep the old server running with the old version for as long as there are still clients calling it (in this case, a smart lamp with Spotify embedded on it). I am confused about how they would be able to maintain and offer older versions for potentially years, when surely there would be database schema changes during that timeframe? I can see a few possible solutions, but none of them seem very reasonable: Using the same

Serialization and versioning

橙三吉。 提交于 2019-12-03 15:13:50
I need to serialize some data to string. The string is then stored in DB in a special column SerializeData. I have created special classes that are used for serialization. [Serializable] public class SerializableContingentOrder { public Guid SomeGuidData { get; set; } public decimal SomeDecimalData { get; set; } public MyEnumerationType1 EnumData1 { get; set; } } Serialization: protected override string Serialize() { SerializableContingentOrder sco = new SerializableContingentOrder(this); MemoryStream ms = new MemoryStream(); SoapFormatter sf = new SoapFormatter(); sf.Serialize(ms, sco);

Interface change between versions - how to manage?

泄露秘密 提交于 2019-12-03 14:50:25
Here's a rather unpleasant pickle that we got into on a client site. The client has about 100 workstations, on which we deployed version 1.0.0 of our product "MyApp". Now, one of the things the product does is it loads up an add-in (call it "MyPlugIn", which it first looks for on a central server to see if there's a newer version, and if it is then it copies that file locally, then it loads up the add-in using Assembly.Load and invokes a certain known interface. This has been working well for several months. Then the client wanted to install v1.0.1 of our product on some machines (but not all)

How do you manage versions in Workflow Foundation?

匆匆过客 提交于 2019-12-03 13:55:40
问题 How do you manage versions of work flows in WF when you have long running work flows and you might have two or three versions in the persistence store at the same time and have to be able to access them all? 回答1: I did a series of 4 blog post covering most of the stuff you need to be aware of when versioning long running workflows. One thing I tend to avoid is using the HandleExternalEventActivity as this greatly complicates things. For that matter I tend to stick to simple types and xml

How to automate version code incrementing in AndroidManifest?

≡放荡痞女 提交于 2019-12-03 12:59:57
I have application which uploaded into Subversion/SVN repo. Is it possible to use script to somehow change application version code stored in AndroidManifest ? I mean during/after checkout/update? <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="mypackage" android:versionCode="100000" android:versionName="1.0"> SVN has keyword substitution which you can use to put the revision number in a file. However, this will result in the revision when the manifest file itself was last changed, which is not what you want. The best way to achieve what you want is to call

Efficient storage of binary files in a git repository

我只是一个虾纸丫 提交于 2019-12-03 12:49:23
I would like to have a git repository that consists mainly of binary files. I need to keep track of the changed, added and removed files to the repository, but I don't want for git to version the content of the files themselves. In other words, I just need for git to keep track of changes (change log), but not the content. Is this even possible with git? Should I be using something else for this? git is a content tracker, so if you don't want to track content it sounds like it's the wrong tool for the job. I'm not sure exactly how you would track changes to files without tracking their content

Spring data version annotation not incrementing when used on a mongo collection

…衆ロ難τιáo~ 提交于 2019-12-03 12:40:47
问题 I am using spring data with mongodb to store binary data such as images etc I want to maintain a version field to append to the url to cheat the browser from caching images. See my document base class below: import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Version; import org.springframework.data.mongodb.core.index.Indexed; public abstract class BaseDocument { @Id @Indexed(unique=true) protected long id; protected byte[] data; protected String mimeType

versioning stored procedures/PLSQL?

∥☆過路亽.° 提交于 2019-12-03 12:29:51
问题 Is there an efficient way to version store procedures written in PL/SQL? (I only mention PL/SQL because there may exist a particular tool, any answer directed to versioning of stored procedures is ideal). 回答1: In my current job , the team is now using the following method to version control the PL/SQL .When compiling the PL/SQL , no matter compile successfully or not , a record will be inserted into the log table . Besides in the mid-night , there is an JAVA agent to be scheduled to run