[
https://issues.apache.org/jira/browse/CASSANDRA-18204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689385#comment-17689385
]
David Capwell edited comment on CASSANDRA-18204 at 2/15/23 10:52 PM:
---------------------------------------------------------------------
To test the source tarball, here is what I did
{code}
cd /tmp
git clone --branch cep-15-accord https://github.com/apache/cassandra.git
deleteme
cd deleteme/
git co a052e062d22c3363dfd12f9cf35efe278fe194a7 # where I forked
ant artifacts
tar tf build/apache-cassandra-4.2-SNAPSHOT-src.tar.gz > original-source.txt
cd /tmp
git clone --depth 1 --branch accord-submodules
https://github.com/dcapwell/cassandra.git deleteme_accord
cd deleteme_accord/
ant artifacts
tar tf build/apache-cassandra-4.2-SNAPSHOT-src.tar.gz > accord-source.txt
# cleanup stuff in other branch that shouldn't be on trunk
egrep -v '.build/cassandra-accord|.build/include-accord.sh'
../deleteme/original-source.txt > original-source.txt
# what was changed?
# diff accord-source.txt original-source.txt
{code}
was (Author: dcapwell):
To test the source tarball, here is what I did
{code}
cd /tmp
git clone --branch cep-15-accord https://github.com/apache/cassandra.git
deleteme
cd deleteme/
git co a052e062d22c3363dfd12f9cf35efe278fe194a7 # where I forked
ant artifacts
tar tf build/apache-cassandra-4.2-SNAPSHOT-src.tar.gz > original-source.txt
cd /tmp
git clone --depth 1 --branch accord-submodules
https://github.com/dcapwell/cassandra.git deleteme_accord
cd deleteme_accord/
ant artifacts
tar tf build/apache-cassandra-4.2-SNAPSHOT-src.tar.gz > accord-source.txt
# cleanup stuff in other branch that shouldn't be on trunk
grep -v .build/cassandra-accord ../deleteme/original-source.txt >
original-source.txt
# what was changed?
# diff accord-source.txt original-source.txt
{code}
> CEP-15: (C*) Add git submodule for Accord
> -----------------------------------------
>
> Key: CASSANDRA-18204
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18204
> Project: Cassandra
> Issue Type: Task
> Components: Accord
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Normal
> Fix For: 4.x
>
> Time Spent: 5.5h
> Remaining Estimate: 0h
>
> As talked about in dev@ thread "Intra-project dependencies”, we talked about
> adding git submodules but before doing this had to work out a few issues
> first; this ticket is to track this work.
> Goals
> * when checking out an older commit, or pulling in newer commits, the
> submodule should also be updated automatically
> * release artifact must include the submodule and must be able to build
> without issue
> * build.xml must be updated to build the submodule
> * build.xml must be updated to release the submodule jar
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]