[ 
https://issues.apache.org/jira/browse/CASSANDRA-18204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683517#comment-17683517
 ] 

David Capwell edited comment on CASSANDRA-18204 at 2/2/23 6:18 PM:
-------------------------------------------------------------------

To avoid cache issues when testing, I am doing the following

{code}
cd /tmp
git clone --depth 1 --branch accord-submodules 
https://github.com/dcapwell/cassandra.git deleteme
cd deleteme
{code}

This lets me make sure a fresh copy "just works", and also I can delete .git to 
simulator source tarball (can always build source tar, but this takes a while)

To simulate source tar, can do

{code}
git clone --depth 1 --branch accord-submodules 
https://github.com/dcapwell/cassandra.git deleteme
cd deleteme/
git submodule update --init
rm -rf .git
ant jar
{code}

This does not mean I am not testing source tar, its just a quick way when I 
make changes to test early


was (Author: dcapwell):
To avoid cache issues when testing, I am doing the following

{code}
cd /tmp
git clone --depth 1 --branch accord-submodules 
https://github.com/dcapwell/cassandra.git deleteme
cd deleteme
{code}

This lets me make sure a fresh copy "just works", and also I can delete .git to 
simulator source tarball (can always build source tar, but this takes a while)

> 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: 50m
>  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]

Reply via email to