versioning

Git and the Umlaut problem on Mac OS X

天大地大妈咪最大 提交于 2019-11-26 15:53:40
Today I discovered a bug for Git on Mac OS X. For example, I will commit a file with the name überschrift.txt with the German special character Ü at the beginning. From the command git status I get following output. Users-iMac: user$ git status On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # "U\314\210berschrift.txt" nothing added to commit but untracked files present (use "git add" to track) It seems that Git 1.7.2 has a problem with German special characters on Mac OS X. Is there a solution to get Git read the file names correct? Leo

How to allow users to check for the latest app version from inside the app?

你说的曾经没有我的故事 提交于 2019-11-26 15:43:09
I want to add a "Check for update" button in apps so that when someone clicks it, it will display a toast message / progress dialog for checking the app's version. If new version is found the apps will auto download it to the phone and let user to manually install the updated apps. Or any others method will do as long as it can check for latest version and notify the user to update. Google updated play store two months before. This is the solution working right now for me.. class GetVersionCode extends AsyncTask<Void, String, String> { @Override protected String doInBackground(Void... voids) {

How to manage REST API versioning with spring?

百般思念 提交于 2019-11-26 14:49:19
I've been searching how to manage a REST API versions using Spring 3.2.x, but I haven't find anything that is easy to maintain. I'll explain first the problem I have, and then a solution... but I do wonder if I'm re-inventing the wheel here. I want to manage the version based on the Accept header, and for example if a request has the Accept header application/vnd.company.app-1.1+json , I want spring MVC to forward this to the method that handles this version. And since not all methods in an API change in the same release, I don't want to go to each of my controllers and change anything for a

Database Design for Revisions?

南笙酒味 提交于 2019-11-26 13:58:25
We have a requirement in project to store all the revisions(Change History) for the entities in the database. Currently we have 2 designed proposals for this: e.g. for "Employee" Entity Design 1: -- Holds Employee Entity "Employees (EmployeeId, FirstName, LastName, DepartmentId, .., ..)" -- Holds the Employee Revisions in Xml. The RevisionXML will contain -- all data of that particular EmployeeId "EmployeeHistories (EmployeeId, DateModified, RevisionXML)" Design 2: -- Holds Employee Entity "Employees (EmployeeId, FirstName, LastName, DepartmentId, .., ..)" -- In this approach we have basically

Best practices/guidance for maintaining assembly version numbers

守給你的承諾、 提交于 2019-11-26 12:48:59
问题 I\'m looking for pointers, suggestions, and even dictation on how to manage the three different assembly version numbers for a .NET assembly. The Product version is the simplest, as this seems would normally be dictated by business. Then, the file version seems to be for versioning between deployments, where the actual assembly version is only used when shipping. Right now I\'m just looking for a simple means of labeling test and maintenance releases of an assembly on which none depend, so I

How do I set the version information for an existing .exe, .dll?

别来无恙 提交于 2019-11-26 12:04:56
As part of our build process I need to set the version information for all of our compiled binaries. Some of the binaries already have version information (added at compile time) and some do not. I want to be able to apply the following information: Company Name Copyright Notice Product Name Product Description File Version Product Version All of these attributes are specified by the build script and must be applied after compilation. These are standard binaries (not assemblies) compiled with C++ Builder 2007. How can I do this? While it's not a batch process, Visual Studio can also add/edit

How to version REST URIs

不打扰是莪最后的温柔 提交于 2019-11-26 11:58:50
What is the best way to version REST URIs? Currently we have a version # in the URI itself, ie. http://example.com/users/v4/1234/ for version 4 of this representation. Does the version belong in the queryString? ie. http://example.com/users/1234?version=4 Or is versioning best accomplished another way? I would say making it part of the URI itself (option 1) is best because v4 identifies a different resource than v3. Query parameters like in your second option can be best used to pass-in additional (query) info related to the request , rather than the resource . Darrel Miller Do not version

Database - Data Versioning [closed]

旧时模样 提交于 2019-11-26 11:47:55
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . I\'ve read a few questions on SO (such as this one) in regards to versioning your data within a database. I liked some of the suggestions that were mentioned. I have for the longest time wanted (needed) to revision many of my tables but never got around to it. Being a

How do you use multiple versions of the same R package?

二次信任 提交于 2019-11-26 10:31:05
问题 In order to be able to compare two versions of a package, I need to able to choose which version of the package that I load. R\'s package system is set to by default to overwrite existing packages, so that you always have the latest version. How do I override this behaviour? My thoughts so far are: I could get the package sources, edit the descriptions to give different names and build, in effect, two different packages. I\'d rather be able to work directly with the binaries though, as it is

Maven versioning best practices [closed]

跟風遠走 提交于 2019-11-26 10:12:57
问题 What is the best way to change version of Maven project, to release this version and then return back to *-SNAPSHOT development. Currently I\'m doing following: retrieve current version (most likely with SNAPSHOT ) from pom.xml increment version ( mvn -DnewVersion=<something> versions:set ), respecting rules described in the question Maven artifact version for patches mvn:install to sent to repo renaming version once again adding SNAPSHOT postfix. committing changes (using some version