From 3135bacabae5de175f24c15ce7a61a452e820488 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 31 Mar 2017 10:05:35 +0300 Subject: [PATCH] - Updated ansible-desktop-playbooks submodule. - Added update-requirements shell command (to update the requirements file(s) in a repo, commit and push). --- .bashrc | 12 ++++++++++++ Documents/Shore/Ansible/ansible-desktop-playbooks | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 9b23dbb..c47ae8b 100644 --- a/.bashrc +++ b/.bashrc @@ -112,4 +112,16 @@ sync-comics () { rsync --recursive --compress --progress "$last_month" "$this_month" "$HOME/Downloads/Comics/" } +update-requirements () { + cd $(git rev-parse --show-toplevel) + for file in $(git ls-files *requirements*.txt) + do + pur --requirement $file + git add $file + done + git commit -m"- Updated requirements." + git push + cd - > /dev/null +} + . $HOME/Documents/Shore/bundle_certs/bundle_certs diff --git a/Documents/Shore/Ansible/ansible-desktop-playbooks b/Documents/Shore/Ansible/ansible-desktop-playbooks index b16af38..07af195 160000 --- a/Documents/Shore/Ansible/ansible-desktop-playbooks +++ b/Documents/Shore/Ansible/ansible-desktop-playbooks @@ -1 +1 @@ -Subproject commit b16af3860a0d586747ed5f161fb8f9b53a92f685 +Subproject commit 07af19508f9c861dd64de4da312c66906d3dfca9 -- GitLab