File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed
async-toolkit/m3utils/m3utils/oss Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 33YEAR=2025
44LINE1=" Copyright (c) %Y Intel Corporation. All rights reserved. See the file COPYRIGHT for more information."
55LINE2=" SPDX-License-Identifier: Apache-2.0"
6- M3INSTALL=/nfs/pdx/disks/or_n3a_disk001/w138/mnystroe/m3utils
6+ # M3INSTALL=/nfs/pdx/disks/or_n3a_disk001/w138/mnystroe/m3utils
7+ M3INSTALL=${M3UTILS}
78
89(find . -type f -and -name \* .\* | xargs -r -n1 ${M3INSTALL} /copyright/AMD64_LINUX/copyright -year 2025 -line1 " ${LINE1} " -line2 " ${LINE2} " )
910
Original file line number Diff line number Diff line change 1+ #! /bin/sh -x
2+
3+ # SCHEMATIC setup of jtools (was done manually)
4+ #
5+ exit 1 # do NOT run this
6+
7+
8+ COPYRIGHT=/nfs/site/disks/or_lhdk75_disk0037/w137/gorda/mnystroe/oss/async-toolkit/async-toolkit/m3utils/m3utils/oss/copyright.sh
9+ WORKDIR=/nfs/site/disks/or_lhdk75_disk0037/w137/gorda/mnystroe/oss/jtools-work
10+
11+
12+ # go to work area
13+ cd ${WORKDIR}
14+
15+ # clone jtools repo
16+ git clone --no-local jtools-orig jtools-1
17+
18+ cd jtools-1
19+
20+ # change paths to be compatible with main repo
21+ git filter-repo --to-subdirectory-filter async-toolkit/jtools
22+
23+ # add copyright statements
24+ ${COPYRIGHT} | & grep ERROR | awk ' {print $6}' | awk -F. ' {print $NF}' | sort | uniq -c | sort -g
25+
26+ # clone the main repo
27+ cd ${WORKDIR}
28+ git clone async-toolkit async-toolkit-jtools-merge
29+ cd async-toolkit-jtools-merge
30+
31+ git branch jtools-merge
32+ git checkout jtools-merge
33+
34+ git remote add jtools /nfs/site/disks/or_lhdk75_disk0037/w137/gorda/mnystroe/oss/jtools-work/jtools-1
35+
36+ git fetch jtools --tags
37+ git merge --no-edit --allow-unrelated-histories jtools/master
38+
39+ git remote remove jtools
40+ git remote remove origin
41+
42+ git remote add origin https://github.com/IntelLabs/async-toolkit.git
43+
44+ git config --global http.postBuffer 524288000
45+ git push --set-upstream origin jtools-merge
You can’t perform that action at this time.
0 commit comments