summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrikant Patnaik2015-02-15 08:04:31 +0530
committerSrikant Patnaik2015-02-15 08:04:31 +0530
commit22a928e4907102dd5ad9f74ee1c194661d6701fa (patch)
tree82bad583ceeb97873e6f4dfe3def50c851044ed0
parent0b1a6c0dc9a14c600e778320248a9c1247543f15 (diff)
downloadFOSSEE-netbook-tools-22a928e4907102dd5ad9f74ee1c194661d6701fa.tar.gz
FOSSEE-netbook-tools-22a928e4907102dd5ad9f74ee1c194661d6701fa.tar.bz2
FOSSEE-netbook-tools-22a928e4907102dd5ad9f74ee1c194661d6701fa.zip
A version without git tags, ready to cherrypick commits to master
-rw-r--r--README.rst15
-rwxr-xr-xpatcher.sh9
2 files changed, 14 insertions, 10 deletions
diff --git a/README.rst b/README.rst
index add6883..5f13dcf 100644
--- a/README.rst
+++ b/README.rst
@@ -1,16 +1,21 @@
README
======
+
A simple git based application to manage distribution specific patches for
FOSSEE-netbook.
-This tool shall do the following:
+What it can do
+--------------
+
+* A simple graphical & CLI tool to select and apply available patches
-* A simple graphical & CLI tool to select available patches and apply them
- individually
+* It can change Kernel, firmware and modules
-* Ability to downgrade to any pervious version
-* Ability to change Kernel, firmware and modules
+Limitations
+-----------
+* Only one patch at a time can be applied
+* Removing a patch is not implemented, one has to revert to a known version manually
diff --git a/patcher.sh b/patcher.sh
index 27e9aef..1948bf0 100755
--- a/patcher.sh
+++ b/patcher.sh
@@ -68,7 +68,7 @@ function format_list_updates() {
$all_commits_dates_with_file_paths
}
-#function updates_
+#function updates
function select_updates() {
@@ -84,11 +84,10 @@ function select_updates() {
do
mkdir -p $local_updates/$(dirname $each_file)
git show $selected_hash:$each_file>$local_updates/$each_file
- echo $selected_hash;$files_in_selected_hash>>$updated_file
- done
-
-
+# for commit_files_present in $updated_file
+ echo "$selected_hash;$files_in_selected_hash">>$updated_file
+ done
}