ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. * roesyyu joined #java
  2. * agnivn joined #java
  3. * roesyyu joined #java
  4. * Aedil joined #java
  5. * roesyyu joined #java
  6. * hwpplayer1 joined #java
  7. * roesyyu joined #java
  8. * agnivn joined #java
  9. * roesyyu joined #java
  10. * roesyyu joined #java
  11. * roesyyu joined #java
  12. * roesyyu joined #java
  13. * johnjay joined #java
  14. * Henryx joined #java
  15. * roesyyu joined #java
  16. * roesyyu joined #java
  17. * roesyyu joined #java
  18. * stfstfm joined #java
  19. * Ragnor joined #java
  20. * B_fd joined #java
  21. * roesyyu joined #java
  22. * roesyyu joined #java
  23. * roesyyu joined #java
  24. * roesyyu joined #java
  25. * leppard joined #java
  26. * roesyyu joined #java
  27. * leppard joined #java
  28. * roesyyu joined #java
  29. * michele joined #java
  30. * kmh joined #java
  31. * MikeBux joined #java
  32. * stfstfm joined #java
  33. * kathadris joined #java
  34. * agnivn joined #java
  35. * roesyyu joined #java
  36. * mwnaylor joined #java
  37. * mwnaylor left #java
  38. * roesyyu joined #java
  39. * roesyyu joined #java
  40. * roesyyu joined #java
  41. * roesyyu joined #java
  42. * Aedil joined #java
  43. dreamreal morning
  44. Candle With a pull-request based workflow (and a protected `main` branch), how do people handle `mvn release:prepare` via a branch & pull request?
  45. dreamreal wouldn't that be the CI/CD's job in that case?
  46. Candle Partly, let's restrict that even more, and say that CI/CD does not have write access to the repo.
  47. dreamreal don't know then
  48. dreamreal gpt
  49. dreamreal ~gpt With a pull-request based workflow (and a protected `main` branch), how do people handle `mvn release:prepare` via a branch & pull request?
  50. javabot In a pull-request based workflow with a protected `main` branch, you'd typically handle `mvn release:prepare` via a branch & pull request by creating a separate release branch. Here's a simple process: 1. Checkout to a new branch (e.g., `release/v1.0.0`). 2. Run `mvn release:prepare` in that branch. This will update the project versions, commit, and tag the new version. 3. Push the branch and create a pull request for it. 4. Once the pull request is re
  51. javabot be merged into the `main` branch. This way, `mvn release:prepare` is executed in a controlled environment and the `main` branch is updated in a clean, traceable manner through the pull request.
  52. * dreamreal shrugs.
  53. Candle It is feels like a fast-forward merge - to get the two sequential commits into main, but then the tag still references a commit on the branch.
  54. deebo what does release:prepare do?
  55. dreamreal I'd think you'd tag the release preparation, not the incoming
  56. Candle 1. commits a non SNAPSHOT version (e.g. changes 1.0.5-SNAPSHOT to 1.0.5). 2. creates a tag at that commit. 3. commits the next SNAPSHOT version (e.g. 1.0.6-SNAPSHOT).
  57. deebo do you really need like a pom.xml with <verion>5.0.0</version> in the repo? with gradle we just rewrite the the version for the build when releasing
  58. dreamreal more than one road to rome
  59. Candle Having the release version in VCS That gives you something you can tag in the repo.
  60. deebo true, it just seems weird (to me), main/master should produce a snapshot every time, a separate release pipeline builds a specific commit as a release
  61. Candle (this is a long-standing problem that stricter repository permissions are ... encouraging.. us to actually try to resolve!)
  62. * dreamreal shrugs. Everyone has a lot of local practices, and somehow the world manages to not end as a result
  63. deebo we just ./gradlew build && ./gradlew -Pversion=2026.q2 publish && git tag release/2026.q2
  64. deebo snapshots are satans tool against humanity, along with nodejs and xml
  65. dreamreal that's just about my process, too, although I don't use gradle
  66. dreamreal and I have no problem with either nodejs nor XML
  67. dreamreal most people who resent XML resent its verbosity and don't know it
  68. dreamreal not all, but most
  69. Candle deebo: Depending on a SNAPSHOT in production, that is certainly satanic!
  70. deebo well hopefully noone does that, and no doubt the situation has improved but i just hated trying to get an actual update to a dependency as a snapshot to work
  71. Candle Also, switching to use Gradle is a pretty much a non-starter due to the size of the team and quantity of code.
  72. deebo don't repositories require unique snapshots these days anyhow? they append like a timestamp, :1.0-SNAPSHOT ~ :1.0-SNAPSHOT-2026041309101213.999 or something
  73. deebo remember dealing with that when managing a nexus repo and older maven versions that tried to overwrite snapshots or something
  74. Candle Only if you push that snapshot to a repo.
  75. * roesyyu joined #java
  76. * roesyyu joined #java
  77. * roesyyu joined #java
  78. * Fiji_ joined #java
  79. * kcomhnall joined #java
  80. * GreenResponse joined #java
  81. Para btw, never do fast-forwarding merges
  82. Para They break actual history by removing merge points, and merge points are semantically important
  83. * roesyyu joined #java
  84. dreamreal I just don't use VCS, makes management a lot easier
  85. * roesyyu joined #java
  86. * roesyyu joined #java
  87. Para manage, damage, same difference
  88. * roesyyu joined #java
  89. * roesyyu joined #java
  90. cheeser deebo: they've always had timestamps on snapshots.
  91. * polarian joined #java
  92. * jamezp joined #java
  93. * Afroboy joined #java
  94. * agnivn joined #java
  95. * raj joined #java
  96. * raj joined #java
  97. * nb-ben joined #java
  98. * polarian joined #java
  99. * B_fd joined #java
  100. * magla joined #java
  101. * handicraftsman joined #java
  102. * PocketKiller joined #java
  103. dreamreal https://bytecode.news/posts/2026/04/bring-back-idiomatic-design
  104. * stfstfm_ joined #java
  105. GreenResponse nice piece, I think there’re too many people using computer technology, some only to “fit in” because of FOMO, they absorb solutions given them by AI because they are incapable of make them themselves
  106. Swayze yeah but then you need to have teh right person for the rigth job
  107. Swayze if its a personal project it doesnt matter what you're doing but in a professional setting there are ways to ensure you have the appropriate person in charge of architecting solutions and making decisions
  108. * B_fd joined #java
  109. * mindCrime joined #java
  110. * zorone joined #java
  111. * deepSleep joined #java
  112. * Zapek joined #java
  113. * Zapek joined #java
  114. * Betal joined #java
  115. GreenResponse I was thinking more about end-users than developers tho
  116. * roesyyu joined #java
  117. * dumptruckman joined #java
  118. * johnjay joined #java
  119. * agnivn joined #java
  120. * MikeBux joined #java
  121. * Ekho joined #java
  122. * stfstfm joined #java
  123. * polarian joined #java
  124. * m joined #java
  125. * NeXeN joined #java
  126. * nevet joined #java
  127. * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
  128. * B_fd joined #java
  129. jreicher Para FF merges remove merge points???
  130. * kcomhnal1 joined #java
  131. * mindCrime joined #java
  132. * stfstfm_ joined #java
  133. * kcomhnall joined #java
  134. kcomhnall ~jep 527
  135. javabot 'JEP 527: Post-Quantum Hybrid Key Exchange for TLS 1.3' can be found at http://openjdk.java.net/jeps/527
  136. nevet JEP 527: Post-Quantum Hybrid Key Exchange for TLS 1.3
  137. * zorone joined #java
  138. * zorone joined #java
  139. * domicron joined #java
  140. * johnjay joined #java
  141. * B_fd joined #java
  142. * MikeBux joined #java