[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 9f2184d3 1/9: Record some handy commands
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 9f2184d3 1/9: Record some handy commands |
Date: |
Tue, 28 Jun 2022 22:26:46 -0400 (EDT) |
branch: master
commit 9f2184d3388ea908bccf3a41056cc4b11ac071b2
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Record some handy commands
---
gwc/develop2.txt | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gwc/develop2.txt b/gwc/develop2.txt
index 33b2f52e..0d34bbd1 100644
--- a/gwc/develop2.txt
+++ b/gwc/develop2.txt
@@ -71,6 +71,37 @@ git bundle create /srv/cache_for_lmi/blessed/$(date -u
+'%Y%m%dT%H%MZ')-catchup.
cp -ia src/* /opt/lmi/src/products/src
+ # Synchronize origin on one machine with multiple chroots
+
+ # Create a bare repository on the host. Use that as 'origin' for
+ # the local repository in each chroot (which already identity-mounts
+ # the 'origin' directory). When a bundle is received, update it like
+ # this...
+
+cd /srv/cache_for_lmi/blessed/proprietary
+git fetch ../whatever.bundle master:master
+
+ # ...because 'git pull' can't be used in a bare repository. Then,
+ # 'git pull' in each chroot will DTRT.
+
+ # Compare files against proprietary repository
+
+ # 'meld' is arguably less clunky than 'netrw'. It's not installed
+ # in chroots by default because it's easy enough, and more flexible,
+ # to run it on the host.
+
+ # Compare source files
+
+meld /srv/chroot/lmi_bookworm_5/opt/lmi/src/products/src
/srv/chroot/lmi_bookworm_5/opt/lmi/proprietary/src &
+
+ # Compare data files
+
+meld /srv/chroot/lmi_bookworm_5/opt/lmi/data
/srv/chroot/lmi_bookworm_5/opt/lmi/proprietary/data &
+
+ # Compare system-test files
+
+meld /srv/chroot/lmi_bookworm_5/opt/lmi/test
/srv/chroot/lmi_bookworm_5/opt/lmi/proprietary/test &
+
# Whenever a rate table changes, regenerate the binary database
cd /opt/lmi/data
- [lmi-commits] [lmi] master updated (ceb0ac3b -> 01aa1fd4), Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 984ccf07 3/9: Expunge useless history, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master a3571e5d 4/9: Remove a dependency on an ancient gcc version, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master d20268b2 5/9: Remove another dependency on an ancient gcc version, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 2f9d615f 8/9: Move a definition, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 9f2184d3 1/9: Record some handy commands,
Greg Chicares <=
- [lmi-commits] [lmi] master 7947ec4e 2/9: Distinguish dialect options from warnings, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 01aa1fd4 9/9: Factor out gcc warnings, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master be9c647f 6/9: Prepare for more transplantation, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 0e74982c 7/9: Transplant ascertainment of compiler version, Greg Chicares, 2022/06/28