From 22a928e4907102dd5ad9f74ee1c194661d6701fa Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 15 Feb 2015 08:04:31 +0530 Subject: A version without git tags, ready to cherrypick commits to master --- README.rst | 15 ++++++++++----- patcher.sh | 9 ++++----- 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 } -- cgit