Line history viewer – Git

Maybe annotations in IntelliJ IDEA is that you are looking for: Showing and hiding annotations Open the desired file in the editor. To show annotations, right-click the left gutter, and select Annotate: To hide annotations, right-click the annotations gutter, and choose Close Annotations.

How to manage the version number in Git?

Alexey Kiselev and Dario already hinted towards the answer, but I will try to explain it in detail. Versioning Schemes There are two types of versioning schemes: Internal version number: This can be incremented many times in a day (e.g. revision control number) Released version: This changes less often (e.g. semantic versioning) People use different … Read more

ASP.NET MVC security patch to version 3.0.0.1 breaks build [duplicate]

I fixed this by: Removing the MVC reference and add the correct reference to the project. Changing the Copy Local property of the reference to true. Update the bindingRedirect setting in web.config: web.config runtime section: <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”System.Web.Mvc” publicKeyToken=”31bf3856ad364e35″ /> <bindingRedirect oldVersion=”1.0.0.0-3.0.0.0″ newVersion=”3.0.0.1″ /> </dependentAssembly> … Changing the Copy Local setting will … Read more

A regex for version number parsing

I’d express the format as: “1-3 dot-separated components, each numeric except that the last one may be *” As a regexp, that’s: ^(\d+\.)?(\d+\.)?(\*|\d+)$ [Edit to add: this solution is a concise way to validate, but it has been pointed out that extracting the values requires extra work. It’s a matter of taste whether to deal … Read more

How to version REST URIs

Do not version URLs, because … you break permalinks The url changes will spread like a disease through your interface. What do you do with representations that have not changed but point to the representation that has? If you change the url, you break old clients. If you leave the url, your new clients may … Read more

Automatically update version number

With the “Built in” stuff, you can’t, as using 1.0.* or 1.0.0.* will replace the revision and build numbers with a coded date/timestamp, which is usually also a good way. For more info, see the Assembly Linker Documentation in the /v tag. As for automatically incrementing numbers, use the AssemblyInfo Task: AssemblyInfo Task This can … Read more

How can I auto increment the C# assembly version via our CI platform (Hudson)?

Here’s what I did, for stamping the AssemblyFileVersion attribute. Removed the AssemblyFileVersion from AssemblyInfo.cs Add a new, empty, file called AssemblyFileInfo.cs to the project. Install the MSBuild community tasks toolset on the hudson build machine or as a NuGet dependency in your project. Edit the project (csproj) file , it’s just an msbuild file, and … Read more

Setting the version number for .NET Core projects – CSPROJ – not JSON projects

You can override any property from the command line by passing /p:PropertyName=Value as arguments to dotnet restore, dotnet build and dotnet pack. Currently, Version composition works as this: If Version is unset, use VersionPrefix (defaults to 1.0.0 if unset) and – if present – append VersionSuffix. All other versions are then defaulted to whatever Version … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)