patch

How to force a file update in patch (dynamic link, unversioned)

此生再无相见时 提交于 2020-01-17 04:05:07
问题 I have several files failed to update in windows installer patch. They are dynamic link files, with file hash changes, but the MsiFileHash table “File_" has changed for each file, below is the same file in MisFileHash table: RTM fileA:_A0FB2DAA62D356E1B64EA457014BA886 0 543212956 662074909 -1730111711 -2096793600 Patch7 fileA: _490DC427E0D9E512E96D3E9BF2B317C7 0 -1371102532 -401194406 -232195904 525972747 Maybe this causes the update failure. So I ask, will any way to force the dynamic link

PE file add null bytes to .text section

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-16 14:33:13
问题 I have an exe that I need to increase the size of its .text section . used LORDPE to alter the Virtual and Raw address, but having a hard time where to append the null bytes ? Do I need to reallocate every following section ? Is there a tool for similar tasks ? following these links tut2 tut1 回答1: What you must do depends on how many bytes you want to add to the section and the status of the section. If you just add a few bytes and the section has a gap big enough to contain the bytes to add,

Hotfix / Patch build & delivery approach

≯℡__Kan透↙ 提交于 2020-01-13 10:07:22
问题 We are in the process of adapting our build & release procedure of one of our Java based products to support patch / hotfix releases. Today, we deliver a full installation package (which is a set of RPM packages wrapped in an ISO) out of our build pipeline. However, we aim to also support incremental / more fine grained upgrade / patch shipments as well. To keep things simple as an initial step, we plan to have more fine-grained RPM packages and package a subset (only the changed ones in the

Hotfix / Patch build & delivery approach

倾然丶 夕夏残阳落幕 提交于 2020-01-13 10:05:21
问题 We are in the process of adapting our build & release procedure of one of our Java based products to support patch / hotfix releases. Today, we deliver a full installation package (which is a set of RPM packages wrapped in an ISO) out of our build pipeline. However, we aim to also support incremental / more fine grained upgrade / patch shipments as well. To keep things simple as an initial step, we plan to have more fine-grained RPM packages and package a subset (only the changed ones in the

Hotfix / Patch build & delivery approach

对着背影说爱祢 提交于 2020-01-13 10:04:07
问题 We are in the process of adapting our build & release procedure of one of our Java based products to support patch / hotfix releases. Today, we deliver a full installation package (which is a set of RPM packages wrapped in an ISO) out of our build pipeline. However, we aim to also support incremental / more fine grained upgrade / patch shipments as well. To keep things simple as an initial step, we plan to have more fine-grained RPM packages and package a subset (only the changed ones in the

git format-patch < everything since last svn rebase >

☆樱花仙子☆ 提交于 2020-01-11 10:26:50
问题 I'm trying to mash all my changes since I last pushed to the svn server into one big patch that I can email to my coworker for review. Can I do this with git format-patch ? 回答1: You could use git format-patch origin/master to get all the patches since your current branch forked from the server. (The HEAD is assumed as the final argument in the command, so you are getting origin/master..HEAD .) However, as VonC hints at, that could potentially create a lot of files: one .patch file for every

How to create patch between two tags with multiple commits between them?

别来无恙 提交于 2020-01-10 07:21:06
问题 I have two tags in my git in same branch. There are at least 5-6 commits between them. How can I create a single patch between the two tags so that it can be applied to a GitHub repo? 回答1: You can create a single diff (patch) between two tags using the following $ git diff tag1 tag2 -- > the-patch.diff Replace tag1 and tag2 to the tags you want. 回答2: You can create a single patch for multiple commits by using the --stdout option and directing the output to a file: git checkout tag2 git format

git: update a php-script but keep own changes

别来无恙 提交于 2020-01-07 05:47:04
问题 I'm tracking my changes on a PHP-software with git. I have only a master branch and about 10 commits, the first commit was the original version 1.0 of the software. Now I saw, that the owner of the PHP-software released version 1.1. What is the best an easiest way for me, to update the software, but keep my own changes too and merge them with git mergetool? Should I use patches or create another branch with the untouched version updates? Thank you! 回答1: Typical approach is to create a branch

Difference between a changeset and a patch?

半世苍凉 提交于 2020-01-05 02:29:07
问题 What is the difference a changeset and a patch? I was using hg today and I noticed the import command mentions that it is used to "import an ordered set of patches." What is a patch? 回答1: Changeset typically refers to the internal representation. Thus, hg unbundle , which processes mercurial-specific files, "applies one or more changegroup files." A changegroup is simply a group of changesets. Patches are plain text in standard formats (e.g. produced by diff). Note that the patch command can

How to make Patch-able/Update-able application?

喜欢而已 提交于 2020-01-04 03:58:09
问题 I have completed a student project, this project extract data from xml files on internet and save to database and displays it. And i use that data in a few different ways e.g. display on main page, in another tab as a table, and to create some graphs. I did all this by making 5 different classes. Each class extracts different type of XML and save it to database with a single Load() function. Last requirement of the project is to make the application Update-able/Patch-able (user does not need