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

Jeff Widman commented on CASSANDRA-18654:
-----------------------------------------

There's enough implementation discussions going on here, that if the overall 
vibe from the core team is "yes, we are interested in the overall idea, but 
we're not quite sure how the implementation would work and that may present 
blocker problems that prevent this", then it may be more efficient to schedule 
a synchronous call to talk through some of these issues, decide on the actual 
scope of what we'd be trying to achieve, who would be responsible for which 
pieces, etc. Happy to have that call if it'd be helpful.


> Make publishing to https://pypi.org/project/cqlsh/ part of Cassandra core
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18654
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18654
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jeff Widman
>            Priority: Normal
>
> Myself and [~bschoeni] currently maintain https://github.com/jeffwidman/cqlsh 
> which  repackages the CQLSH from Cassandra it into a standalone Python 
> package that is published to https://pypi.org/project/cqlsh/ for 
> lighter-weight installs.
> Given that our project is simply a build/packaging project, we wanted start a 
> conversation about upstreaming this into core Cassandra.
> We don't have any differences from the CQLSH source that's in cassandra, 
> instead we point all contributors to contribute back to the Cassandra 
> project. In fact we've made multiple contributions back to `cqlsh` ourselves 
> and have drastically cleaned up the code: 
> https://github.com/search?q=repo%3Aapache%2Fcassandra%20is%3Apr%20author%3Ajeffwidman%20author%3Abschoening&type=pullrequests
> Our goal: 
> When a Cassandra release happens, the build/release process automatically 
> publishes cqlsh to https://pypi.org/project/cqlsh/
> Benefits:
> - more efficient because we no longer have to manually copy/paste cqlsh 
> source around, it'd be automatically done by CI.
> - easier for folks to test python packaging because they could use this 
> pipeline to build the core source locally into a python package.
> - reduced bus factor because the PyPI namespace would be under the ownership 
> of core Cassandra rather than just Jeff/Brad.
> We realize the Cassandra team isn't python/PyPI experts, so we'd be more than 
> happy to help wire this up and maintain it.
> I also realize that Cassandra has no interest in maintaining lots of build 
> targets... but given that cqlsh is written in Python and PyPI is the 
> cannonical place to publish python packages, this seems like a natural fit 
> for core cassandra rather than a standalone project.
> Our one hesitation around this discussion is that we're a little concerned 
> that we might lose the nimbleness we've currently got from having a separate 
> project. Ie, if something is screwed up on PyPI / the build process, we can 
> quickly get it fixed and get a new release out so that users aren't blocked. 
> Would it be possible as part of this process to continue that myself/Brad had 
> commit rights to the build process for PyPI? To be clear, we aren't asking 
> for commit rights to the Java code or anything outside of Python, we just 
> want to be sure that if we go to the trouble of working with you to upstream 
> this that there's a commitment from Cassandra to keeping this build working, 
> or to letting us be able to fix the build. Otherwise there's no point in 
> upstreaming it only for it to go unmaintained and us look on helplessly from 
> the sidelines. We're very flexible here on the solution.
> Thoughts?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to