Helping with Releases (Re: TomEE KEYS update)

2022-03-17 Thread David Blevins
Digging up this old thread as any offer to help really deserves a response.  I 
had travelled to help dear old mom these two weeks and didn't get back to you 
after I had a bit more bandwidth.

> On Sep 18, 2021, at 9:31 AM, Jenkins, Rodney J (Rod) 
>  wrote:
> 
> David,
> 
> Thank you for the insights and explanation!
> 
> I completely understand the technical debt and the challenge of making this 
> better during a release.  I would like to jump in and see where I can help.  
> My problem is I am not a java developer.  What I am good it is automating 
> tasks, if I can be taught to execute them.
> 
> The big ask is:  Would anyone want to take the time with me to educate me on 
> what has to happen for a release (not during a release)?  I am thinking that 
> we could set up a dummy repo that has some simple small java code in it to be 
> a dummy TomEE release candidate.  Create some dummy destinations that mimic 
> where the artifacts must be placed.  Once I understand the process, I can see 
> about making it repeatable.
> 
> Personally, I would like to see it done in a way that someone with lesser 
> skills (like, but not necessarily,  me) does releases.  The way I see it now 
> is the heavy hitters do the releases.  I think their time would be better 
> spent on the technical debt, bugs, etc.  Maybe we could find a small few that 
> would be wiling the be release specialists.  I know some where I work that 
> MAY be interested.  If someone would teach me, I would teach them.

You have the right spirit.  In the early days of Geronimo I did the majority of 
releases and while I did a good job, wasn't the job I wanted to be doing and 
could see how me doing all the releases created a knowledge vacuum that 
actually hurts the community.

What I did was suggest we start a system where each release had a pilot and a 
copilot.  The pilot would be an experienced person who know what they were 
doing, the copilot would be someone learning.  Next release the copilot would 
become the pilot and do the release and a new person would become the copilot.  
Each release the documentation got a bit better, the technical debt paid down a 
bit.  Things improved, releases got more frequent and quality went up.

A significant blocker, however, is that a large number of the steps can't be 
done unless you're an Apache committer.  Not because of policy, just because 
they require access to systems only committers can reach.  You won't be able to 
run a lot of the commands.

That's not a show stopper, it just means it our creativity in how to leverage 
you will be heavily challenged.  I'm up for it if you are.

I have been trying to revitalize our release tools in java for automating as 
many release tasks as possible.  I do think that's the right way to go as the 
majority of people who do releases are java developers.  In the past I've 
written elaborate scripts in bash and inevitably they decay as I'd be the only 
one who understood them.  That doesn't necessarily mean there's no role for 
scripting.

One of the hardest parts of doing releases is remembering all the steps that 
have to be done and double checking they were done correctly.  This is 
absolutely something you could script up and run.  I will say in all my 
attempts to document release processes, I've noticed even in the best 
circumstances they're always a little out of date.  Turn your back even a 
little and they become just out of date enough no one even looks at the doc 
anymore, than it's game over.

If we had a release auditing script that could be pretty amazing.  It could be 
the checklist people use to "see" the release process as a whole.  Again I'm 
imagining something like the System V startup output where there's one line per 
task.  Each line is a step that has to be done a green/red colored status on 
the right.

Here are some things I frequently see done wrong and not noticed:

 - Forgetting to update the keys file.  Topic of the original thread.  Because 
it's something you only need to do once in a while, it's easy to forget.  
There's a release tools command to help people do it, but you have to remember 
you rotated your key a few months ago and need to run it.  Perfect thing to 
audit.

 - Missing signatures once published.  We've had infrastructure ask us to add 
signatures because we've forgotten a few times.  There's already a 
script/command to do it, but nothing to check if people use them.  As 
mentioned, people stop using scripts they find confusing, so they decide to 
wing it instead.  A script to audit this part would be great.  Apache infra has 
such a script and does run it every few months, but it's not ideal when they're 
the ones point it out.

 - Leaving SNAPSHOT or old TomEE dependencies in the examples or build.  I 
spent three days cleaning out references in the examples to older TomEE 7 and 8 
snapshots missed by past releases.  The way you check is delete your 
~/.m2/repository directory and build the release tag 

Re: Apache TomEE channel in the-asf.slack.com

2022-03-17 Thread David Blevins
The ASF Slack now appears to be an invite-only slack workspace.  Anyone
with an @apache.org address can invite you.

If you're interested in contributing, please ask to join!  Mad skillz not
required, only a good attitude and willingness to learn and help where you
can: as big or little as that may be.

Simply respond to this email and I or another committer will be happy to
add you!


-David

On Fri, Mar 1, 2019 at 11:30 AM David Blevins 
wrote:

> Some time ago even the ASF Infra team stopped using IRC.  They now use
> Slack and there is an "official" ASF Slack group.  I asked if it was ok if
> projects could create themselves a channel and they said, "sure!"
>
> Here it is!
>
>  - https://the-asf.slack.com/messages/CGN2PPR55
>
> I invite everyone to jump in.  I explicitly caution, however, you must
> understand this one critical directive of The Apache Way:
>
>  - "If it didn't happen on the dev list, it didn't happen."
>
> This means you can never say "Oh we talked about that on slack and decided
> x."  All Slack conversations of any substance need to be brought to the dev
> list.
>
> WARNING: If you are visible for weeks on the slack channel and invisible
> for weeks on the dev list, you will be removed from the slack channel.
>
>
> --
> David Blevins
> http://twitter.com/dblevins
> http://www.tomitribe.com
>
>


TomEE 9.x actual switch for master

2022-03-17 Thread Jean-Louis Monteiro
Hi all,

The build is now almost stable in the PR for TomEE 9 and Jakarta EE 9.1.

I would like to start creating the maintenance branch for TomEE 8.x and
also start creating dedicated jobs on Jenkins for it.

After that, we could merge the PR and build it on a regular basis, deploy
it so we can also run TCK, etc.

Thoughts?
Can someone help with the first step?

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


RemoteInitialContextFactory state issue

2022-03-17 Thread Jean-Louis Monteiro
Hi all,

I was working on TomEE 9 and I came into an issue with our
RemoteInitialContextFactory
See issue https://issues.apache.org/jira/browse/TOMEE-3857

In essence, the test is running in a different order causing the test to
fail. The reason is that there is some kind of state in our Remote factory.

Java NamingManager keeps the instance in a cache per classloader which
means every time there is a new InitialContext, it's created with the same
configuration, even though the Hashtable with the configuration is
different.

For the moment, I flagged the test as @Ignore but wanted to gather some
thoughts before I start looking at how to fix it.

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


[GitHub] [tomee] rzo1 merged pull request #821: Regenerated BOMs after dependency upgrades

2022-03-17 Thread GitBox


rzo1 merged pull request #821:
URL: https://github.com/apache/tomee/pull/821


   


-- 
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: dev-unsubscr...@tomee.apache.org

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