hamcrest / JavaHamcrest

Java (and original) version of Hamcrest
http://hamcrest.org/
BSD 3-Clause "New" or "Revised" License
2.11k stars 376 forks source link

Inquiry about Project Activity and Future Plans #405

Closed GitHanter closed 1 month ago

GitHanter commented 9 months ago

Hello,

I'm interested in the project and would like to inquire about its current status and future plans. Is the project still active and being actively maintained? Are there any upcoming features or goals for the project?

Any information regarding the project's activity or future direction would be greatly appreciated.

If it's still active, I would like to contribute a Matcher which maybe a better way to check property value than current HasPropertyWithValue

Or should I switch to other assertion frameworks, e.g. Truth or AssertJ?

Thank you.

olivergondza commented 6 months ago

@tumbarumba, @nhojpatrick, any update on this one? We all love and depend on hamcrest, and I am sure there is plenty of people that would be keen on helping out, if that is needed.

Thanks!

olibye commented 6 months ago

Yes, I'm active again. My first task will be to move to GitHub actions as free travis support was dropped

olibye commented 4 months ago

Hi @tumbarumba @nhojpatrick, who published the last maven central release?

Can I be added to the publisher? I'd like to automate the publishing similar to that of jMock. On the basis that it should improve release cadance.

tumbarumba commented 4 months ago

I was the last publisher, way back when. I'd be happy to help set you up as a publisher. It's been a long time, but looking at https://central.sonatype.org/publish/publish-guide/ I think you have to have accounts set up. I assume you already have this with your jMock work. Note that at one stage I did have Gradle push the binary to Sonatype. I recall that there was still a manual approve step somewhere (I'm forgetting details). Can you see how we can add you into JavaHamcrest as a publisher?

I'm quite interested in picking up Hamcrest fixes and improvements again. It's been a long time niggle with me that I haven't been able to spend time. I think I'm at a place where I can spend a small amount of time each week pushing forward on making Hamcrest better. I'd be interested in discussing how we can pick apart and prioritise work. Happy to chat in more detail, either here on on socials (see exubero dot com for my contact details)

mkurz commented 4 months ago

Can I be added to the publisher?

Hmm... In the light of the xz attack (https://research.swtch.com/xz-timeline) I think it might be a good idea to check on the background of people who come up and want to maintain a repo out of the blue.... @olibye does not have a single commit in this repo (https://github.com/hamcrest/JavaHamcrest/commits?author=olibye) and did not open a single issue nor pull request (https://github.com/hamcrest/JavaHamcrest/issues?q=author%3Aolibye).

I am just saying it might be a good idea to do a bit of a background check of the people's track record in open source in general before giving them commit/release permissions...

tumbarumba commented 4 months ago

Good point @mkurz. xz was a pretty big wake up to potentially malicious actors. However, I am familiar with Oli and his work on jmock, one of the libraries that inspired Hamcrest.

... in fact, I just remember Oli already has commit rights in this project. I guess Steve or Nat added you in, @olibye?

olibye commented 3 months ago

Yeah, I was added ages ago by Steve or Nat. I've recently ported my original jmock travis work to github actions and was looking to do the same here. It makes pushing out new releases easier with all the standard github controls we know and love. I already have the sonatype accounts for publishing jMock, but they have to be linked to the hamcrest domain in order for me to publish from here. @tumbarumba 's account must have been linked to this in the past in order to stage and promote the last version.

tumbarumba commented 3 months ago

Yep, that's correct. My memory, I raised in issue in the Sonatype OSS Jira instance asking for publish permission to the group 'org.hamcrest'. Nat (an existing publisher in that group) approved that request.

It looks like the process has changed since then. @olibye, have a look at https://central.sonatype.org/publish/publish-guide/ and see if you can make any headway. I think I should be able to approve you if anyone asks

tumbarumba commented 3 months ago

OK, reading through that link, it looks more complicated. The old OSSRH is dead. We now have to register at https://central.sonatype.com. Oli, since you've been publishing JMock recently, I assume you've already done that.

Next, we need to register our account to a namespace. https://central.sonatype.org/register/namespace/ has details on how to do this. The gist of it is that we need to set a TXT record in DNS. I'm not sure who is managing the hamcrest.org domain. A dig query shows that the NS is managed through gandi.net.

@sf105 @npryce is this something either of you can help with?

sf105 commented 3 months ago

I have access to the dns records.

tumbarumba commented 3 months ago

Hmmm... I just tried to add myself to 'org.hamcrest', but it failed because it's already registered (duh, Joe!). I think I need to email OSS support. @sf105, I'll send you an email separately.

olibye commented 3 months ago

According to this https://central.sonatype.org/register/legacy/#namespace-details-and-actions, the DNS stuff is for initial namespace registration which we've already done.

@sf105 are you able to contact sonatype as detailed above to add my lagacy usename olibye (that I already use for jMock).. Thanks in advance

sf105 commented 3 months ago

working on it. There's a bit of a problem in that it doesn't seem to recognise the account I believe I had set up. Not sure what to do to recover.

tumbarumba commented 1 month ago

It took some digging, and a number of support requests, but I was eventually able to get version 3.0-rc1 released. It was a bit of a schlep, though. I'd still like to look at adopting the jMock publishing automation at some stage (hint, hint, @olibye 😀).

I'm going to close this issue. I'll talk about next steps on other issues

olibye commented 1 month ago

I need to be given permissions/credentials to the publishing account. Or have some security token that GitHub actions can use.