1. Welcome and Meeting Opening
Okay, it's being recorded.
Cool. All right, so welcome to the office hours for the 11th of September 2019. On the call, we have myself, Tim Jacob, Oleg, John, and Joseph.
Okay, it's being recorded.
Cool. All right, so welcome to the office hours for the 11th of September 2019. On the call, we have myself, Tim Jacob, Oleg, John, and Joseph.
Today, we'll start off with any— since the last meeting, I think we've had 16 days ago. So we've had one release, which is not very exciting. The logs were adding an extra space than what they needed, but when people were testing against configuration as code, they were having to add that space in, and we wanted to fix that before it got too wide so we didn't have to update too many places. That's because we're working on adding configuration as code to the Jenkins BOM.
And we had some compatibility problems with the plugin. The plugin compatibility tester was highlighting issues with tests not passing on new versions of configuration as code. Here we go. So I think all of the— yeah, so here I think all the pull requests have been merged. We're just waiting on releases. Just waiting on the release of SSH. No, which one? I think it's the SSH credentials plugin. Is that right, Joseph?
I can't remember, actually. I know, I think SSH credentials were done by Matt.
Maybe I think it's SSH slaves then.
Yeah, Kurtz, who has to do— Yeah,
Yeah, okay. So once that's done, we should be unblocked on adding it to the BOM, which would be quite nice. It means that people updating the BOM will keep up to date, and we'll get some good plugin compatibility testing through the BOM as well.
Plugin site updates: the work to pull documentation in from GitHub instead of the wiki has been deployed. There are a couple of issues with configuration as code, but that's relating to, I think, the image. That's all been fixed now, so the documentation's looking quite nice.
Yeah, so basically we migrated around 30 plugins by now. And the total number of plugins using GitHub is up to 50.
So yeah, it's a nice progress in the Jenkins ecosystem. If you maintain plugins, consider migrating because, yeah, you can get rid of Wiki almost.
Nice. Yeah, I don't, I don't use it at all. How do you know that? How many plugins use GitHub for the documentation?
I can show. So I would need to share the screen, though. Okay, do you see my screen?
Yeah.
Yay!
So yeah, it's a part of Jenkins Update Site logic. So we have a repository, update-center-2. This is the codebase which basically generates Jenkins Update Site, and it's also being used by third parties. You can basically use it for internal hosting. For example, Rake uses it for internal stuff. There are other projects like Giuseppe, but our plugin side basically uses Jenkins Update Center as a source of information.
In addition to common metadata, there are also a few files being generated, and one file is documentation URLs. Right. It's a JSON file which exists specifically for the update site. And here, well, yeah, there is no prettify option. So bear with that. But if you want to know how many plugins use GitHub, you can just search.
So you can see that now there are 50 here. It lists only released plugins. We have many plugins which were migrated to GitHub but haven't been released yet. So yeah, these changes are pending. But yeah, here you can discover 50 plugins. Most of them will work. So basically, if you end with just— if you just put your repository URL, it will work. If you put something else, there are some examples where custom links are being used.
For example, here Pragma references to whatever cool, I have no idea what it is. Or there is, for example, Chef plugin which uses Mediaset Chef plugin, so it will be also ignored because it uses another GitHub organization. It's not supported right now. But yeah, most of the plugins here which are listed actually get deployed and visualized by the plugin site. So that's how you discover that.
And yeah, if you look for configuration as code, you can see that we have some plugins. One is the configuration as code plugin. It references GitHub. Configuration as code Groovy, configuration as code Secret SSM, and configuration as code support basically reference nothing. So if you go to these plugin pages, you will just see wiki. We can try.
Or nothing.
Or nothing. Well, it depends on whether the plugin side is able to find the VK. Well, they definitely cannot.
So probably it's one of the improvement opportunities for us because, well, I wouldn't say that this documentation is extensive, but at least it's some documentation.
Yeah, it's better than what's there now.
Yeah. So, yeah, it's something which anybody could contribute to the JCasca system just by defining things, so these pages start working. Okay,
Cool.
Any other questions about the plugin side? No. Okay, yeah, configuration as code support is maybe a separate story because, yeah, I guess it depends on Joseph's fix for deprecating plugins.
Because once we have an engine for deprecating plugins, I can also reflect it on the plugin side. Currently, if you go to this site, you would—oh, basically there is nothing. Well, there is a deprecated label here, but yeah, that's it.
Yeah, we could improve it a bit later.
Publish the documentation that says do not use this.
That's one option. Another option is to just check this label and put a really big warning here.
Yeah.
Or have the deprecation engine support that.
the
Plugin site knows that it should display a warning. Yeah, it does for security.
Well, it's pretty easy. So if it's a deprecated label, even without any additional logic, I can display a warning here. I will actually create a follow-up ticket for that because it seems to be a good improvement.
For the plugin site, definitely, yes.
Yeah, we still need to fix the updates center, but the plugin site would be also nice.
Anyway, it's going down, so it's 300 installations less than it was in May.
So yeah, we are doing good progress there.
Well, with the— hopefully with the deprecation engine, I would like to support, like, automatic uninstall when the version matrix is correct. Like, I hope we can have some version matrix that then just auto-installs if it detects all the right versions are, like, installed and gets rid of, like, the support plugin, for instance.
Makes sense. Okay, so yeah, I'll probably just stop sharing the screen so that we return to common agenda.
Cool. And we have one pending change, which is an enhancement for allowing check for null to override parameters that are non-null by default. I suppose it was done for the SonarQube plugin, which has a compatibility issue right now, and to allow that plugin to be fixed in an easier way. It's pending release at the moment.
I may release it today, but just catch up with that later on.
Plugin site updates: recent compatibility fixes. The Mailer plugin has just had a new version out, which fixed all of the issues with it, I believe.
Yeah, so the plugin is fully compatible with G-Class now.
Cool. Security whitelist filter, is that script security or something else?
No, it's something else. Yeah, it's a request whitelist filter that I'll implement regarding script security and full request data approvals, for which we are waiting for maintenance to be released and to work on that.
Something very wrong with your mic, Oleg, if you're not aware.
Sorry?
There's something very wrong with your mic.
Yeah, that's part I heard. I apologize for the fact that something is wrong. Okay, I'll use different headphones next time.
Yeah, script security looks very close to being merged. It's been pending for a very long time.
Yeah, right. Am I missing any other plugins?
Uh,
Yeah, I'm subscribed to the dashboard, but I haven't looked, uh, for the meeting.
Yeah, I've got a pull request for the build monitor plugin, but it seems abandoned. It's also not in the Jenkins CI org as well, which makes it more difficult.
Yeah, yeah.
I think that's,
Uh,
It's the one I'm aware of anyway. Um, ongoing development. So we've already discussed JKS to BOM. Um, we just need their release on SSH slaves, which he said he would do this week.
Uh, GitHub documentation, we've already discussed. JSON schema. So Sladen has got a pull request for that, which is working. In the current approach, it works to at least validate types, and it's a schema that's not broken, which is a lot better than what we currently have.
Doesn't— oh yeah, this is the right pull request. So that's pending review. I've reviewed it, and I'm happy enough with it. If we can get it merged soon, there's more work to be done, but we just need to decide whether we're going to link to the schema in this version or whether we add that later. Currently, it's not linked to anywhere. You have to know the URL.
Um, the pull request is not that large, but it would be good so that we can merge it soon and iterate on it.
Yeah, I would rather merge it as soon as possible. Because, yeah, basically there is a parallel pull request which marks JSON schema as a beta feature. Yeah, it means that it gives us enough freedom, basically, to place it as we wish. But in the current state, it is unusable anyway. So I'm perfectly fine with a half-made feature if this half works better than the current state.
Yeah, so it certainly works better than the completely broken one. I think, yeah, the only comment is, do we want to change the link to point to this one now, or do we want to just leave it unlinked in this pull request?
So, if you feel the current schema is better than—well, the new schema is better than the current schema, just replace it.
Yeah, I think so.
I think so too, yeah. Just replace it.
Okay.
Okay, well, we'll catch up with Sladen after this, and he can watch the recording as well. Hopefully, we can get this merged this week.
Okay, plus one.
So we've got the system read pull request, which is, um, hasn't really had any changes since I think Daniel Beck's the only one who's reviewed it slightly. Not sure what we can do to get that moving along.
Yeah, I can take a look to get it over the line. So basically, we will heads down with the new LCS cutoff because here we've got, well, 2 or 3 regressions to process.
But yeah, I think that this pull request also can move ahead. So it definitely improves the situation. You need to look at the compatibility concerns, but yeah, the rest is more or less fine.
Yeah, I also linked to the read-only system configuration plugin, which was created by Red Hat a while ago. Did you have a chance to look at it?
Yeah, I have looked at it. It parses the jelly and rewrites the jelly before passing it to the user. Mm-hmm. And I know Baptiste has said that—I think it was Baptiste—when they were doing some compatibility work, it affected that plugin.
And when he tried to use that plugin, he couldn't get it working in certain situations. So I'm not sure how complete it is. I'm not sure how many installs it has. Read-only Jenkins. Not that one.
Do you know what the name of the plugin is?
Yeah, I'm looking for it right now because I also forgot the link.
Yeah, it's this one. I had seen it before. I looked at it before I started on, um, the pull requests.
It's got
1,000 installs and last released 5 years ago.
No, thank you.
Yeah, I haven't tested it myself, but I suspect it doesn't work or doesn't work completely.
Yeah, right, it uses ancient core. So yeah, why I brought it up, just to understand whether it makes sense to use it as a base, for example, for the permission plugin. I mean, that's the additional plugin we use to apply reflection magic and offer APIs for all the core dependencies.
So yeah, if we, if this plugin is not suitable, we can just move on. And yeah, once the story is done, hopefully this plugin can be considered as deprecated.
Yeah, yeah, yeah, definitely would be deprecated.
There's the only API in this plugin. It just tries to look up the permission. So just, yeah, just links to a system read permission. It tries to look it up, and if it doesn't exist, it falls back to administrator.
Which is exactly what we need to offer APIs to consumers. So, I guess, yeah, such micro plugin is perfectly fine.
Yeah, yeah, it's very simple.
Yeah, having the part of something would be nice, but yeah, whatever.
Yeah, while I'm here.
Okay,
Cool.
Yeah, I'll try to take a look at the Jenkins pull request this week.
Cool. There was a comment here from—I think this was just copied up from last time—about a DevList thread. I'm not sure exactly what was going to be on there.
Oh, well, nothing really happened.
So basically, the intention of this discussion was to discuss features we would like to have in the Jenkins core by the next LTS baseline. We want to send this list to the developer community, so maybe we could facilitate some contributions there.
Yeah, this is the list we discussed at the last meeting. Basically, if somebody wants to add something to this list, then yeah, just do that.
Cool, cool. They all look very useful. And we're skipping the Community Bridge updates because Sladen wasn't able to make it today. Cool. Has anyone got anything else?
Well, nothing from me.
Yeah, one comment about Community Bridge. Please vote for the meeting times because we still don't have a regular meeting slot for JCasco Developer Tools. For me, it's really hard to find time every week.
Yeah, if we can— I don't think I have a thing to vote on at the moment. I voted initially. I don't know if it's— I don't know if there's been a new one sent out. He sent a meeting invite for tomorrow that I can't make, so I've declined it.
Okay. So let's see what we can do there.
Okay. Any other topics to discuss today? Anything from you, John?
I'm just trying to get back up to speed. Been out of the loop for a long time. You guys hear me?
Yep, I see you.
Yeah, is there audio? Yep. Okay, cool. This is new headphones, so just first time I have to try to speak with them. I got nothing.
Okay, so welcome back.
Thank you.
So maybe one additional topic to discuss while we are there.
So, on October 1st, we will have Hacktoberfest.
Yeah, so there is— well, if you don't mind, I'll share the screen for a second.
Sure.
Just to show— okay, not this button. Okay, do you see my screen? Yep. Yes, so there is an ongoing discussion about Octoberfest. It's pretty much like in the previous year. So from October 1st to October 30th, yeah, 31st, yeah, whatever, we will have Octoberfest.
So it will be an online hackathon where everybody is able to contribute. We also try to organize some on-site events. So, for example, there will be one event in Switzerland, one event in Munich, one event in China, and hopefully one event in Saint Petersburg. And if there are meetup organizers, we also invite you to do so.
What is specific to the Jenkins Configuration as Code project is that, yeah, last year we had the configuration as code plugin here on the list. At that point, we had only a few newbie-friendly tickets. But I think that this year we could have some more.
So, for example, this documentation migrations, whatever smaller features, or whatever integration tests. Or if somebody would be interested to just create a bunch of newbie-friendly tickets, it would be nice so that you could facilitate some contributions to the plugin.
So, yeah, that's why I wanted to bring it up. So if you have any ideas what could be done there, let's do that.
I struggle with that. I find that JCasc isn't the most newbie-friendly plugin. It's very reflection-heavy and Jenkins internals-heavy.
You're right. But, for example, integration tests or something like that. Yeah.
Yeah.
Hard to say. Some bits could be done. So, yeah, if you have any ideas, or maybe just creating demos. I'm not sure, this folder seems to be pretty useful according to traffic stats.
So maybe we could just suggest creating new demos for plugins where we have issues often. So, yeah.
There is a nice work-in-progress pull request that actually tries to consume these demos from the integration plugin now.
Yes, I was just about to mention that. There's an annotation configured with demo, which pulls the integration test config from the demos folder rather than the classpath.
Yeah, it's the pull request from Victor Martinez, I guess. This one?
Yeah, but the new one at the top is—
Yeah.
All the way up top.
Oh, okay. Yeah, that one is cool. So yeah, I definitely need to take a look at that.
But yeah, originally it started as a Hacktoberfest last year, which we had in Nice. So maybe this Hacktoberfest we could get it over the line.
So yeah, it doesn't necessarily have to be newbie-friendly. Newbie-friendly tickets are kind of an addition, but there is a chance that we will have experienced contributors as well.
Yeah, there's probably a few we can stick Hacktoberfest— is it Hacktoberfest labels or newbie-friendly, or both?
So last year, we were just relying on this list. So, GitHub issues, Jira query.
So let's see what we have in the list now. Recommend how to add a description to Jenkins Maven build. Okay, but yeah, definitely could be more. And definitely could be more here.
So yeah, the filter in Jira is JCas compatibility, DevTools compatibility, or anything in components. So, for example, when I create tickets to move documentation to GitHub for this plugin, they will appear here, and they will be definitely in the Defender.
But yeah, having more issues would make sense. So yeah, if you have something in mind, please don't hesitate to just create them.
Okay. So yeah, thanks for your time.
Thank you.
Okay, thank you, and we'll see you in 2 weeks. I'll stop the recording.
Bye, guys.