Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-07-05 Thread via GitHub


soarez merged PR #16287:
URL: https://github.com/apache/kafka/pull/16287


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-07-05 Thread via GitHub


jlprat commented on PR #16287:
URL: https://github.com/apache/kafka/pull/16287#issuecomment-2210568624

   I don't have any concerns :) Go ahead!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-07-05 Thread via GitHub


soarez commented on PR #16287:
URL: https://github.com/apache/kafka/pull/16287#issuecomment-2210556747

   @jlprat I'd like to merge this, unless you have any concerns?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-07-03 Thread via GitHub


soarez commented on PR #16287:
URL: https://github.com/apache/kafka/pull/16287#issuecomment-2207104921

   Yes, @jlprat please share any issues you run into.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-07-03 Thread via GitHub


soarez commented on PR #16287:
URL: https://github.com/apache/kafka/pull/16287#issuecomment-2206328635

   @mimaison I suspect some of the difficulty comes from the reason for this 
PR: the current script is difficult to reason about.
   If you think it would help with the review, I can look into adding unit 
tests for some of new modules here. The downside is that the diff will be even 
larger. I'm also not sure how we'd plug them into CI, but you could run them 
locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-07-02 Thread via GitHub


jlprat commented on PR #16287:
URL: https://github.com/apache/kafka/pull/16287#issuecomment-2203894286

   I wanted to use this script to release 3.8 now that is finally unblocked.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-06-12 Thread via GitHub


soarez commented on code in PR #16287:
URL: https://github.com/apache/kafka/pull/16287#discussion_r1636242129


##
release/notes.py:
##
@@ -0,0 +1,171 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Usage: release_notes.py  > RELEASE_NOTES.html

Review Comment:
   Thanks for pointing this out!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-06-12 Thread via GitHub


jlprat commented on code in PR #16287:
URL: https://github.com/apache/kafka/pull/16287#discussion_r1635964691


##
release/notes.py:
##
@@ -0,0 +1,171 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Usage: release_notes.py  > RELEASE_NOTES.html

Review Comment:
   This uses the wrong filename (it's now `notes.py`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-06-11 Thread via GitHub


soarez commented on PR #16287:
URL: https://github.com/apache/kafka/pull/16287#issuecomment-2161244497

   cc @jlprat 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] KAFKA-16934: Clean up and refactor release.py [kafka]

2024-06-11 Thread via GitHub


soarez opened a new pull request, #16287:
URL: https://github.com/apache/kafka/pull/16287

   The current release script has a couple of issues:
   
   * It's a single long file with duplicated logic, which makes it difficult to 
understand and make changes
   * When a command fails, the user is forced to start from the beginning, 
expanding feedback loops. e.g. publishing step fails because the credentials 
were set incorrectly in ~/.gradle/gradle.properties
   
   This change moves release.py and release_notes.py into new components under 
release/.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org