Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2024-01-08 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1881814441 @jbonofre Awesome, thanks! I got backed up over the holidays and never had a chance to look further but I was going down the same path (although not as in-depth as what you ended up doin

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2024-01-03 Thread via GitHub
jbonofre commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1875618334 Superseded by #1814 -- 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.

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2024-01-03 Thread via GitHub
jbonofre commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1875530587 @RangerRick I found other issue with your bundles: the import required impl package which is private, it should not export utils, etc. I propose to close this one and do a clean new one.

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2024-01-03 Thread via GitHub
jbonofre closed pull request #1804: KARAF-6210: extract core config commands to its own bundle URL: https://github.com/apache/karaf/pull/1804 -- 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 spec

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-24 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1868553682 Yeah I got stuck working on other things before the holidays, I realized that as soon as I saw the build failures. Was gonna take another look in the new year but if it's a quick fix I'd

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-23 Thread via GitHub
jbonofre commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1868439374 @RangerRick your change on the feature doesn't validate. It should be using conditional. If you don't mind, I will do the change/fix for you. -- This is an automated message from the Apa

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856367671 > So as far as my understanding goes, we want to structure this just as features -- i.e. there is feature.core and features.command -- and the latter is installed conditionally based on

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
jbonofre commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856341404 @RangerRick that's why I was suspected. @rovarga possible, I will take a new look -- This is an automated message from the Apache Git Service. To respond to the message, please

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
rovarga commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856339643 I mean this bit: https://github.com/apache/karaf/blob/7761d9be81e0fa5f26882842666cff72b5d2a257/assemblies/features/standard/src/main/feature/feature.xml#L125-L157 -- This is an automa

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856336936 Also now that I try a fresh build, I find it's failing because there's some introspection from commands into `org.apache.karaf.config.core.impl` so maybe this needs a bit more refactorin

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
rovarga commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856334665 So as far as my understanding goes, we want to structure this just as features -- i.e. there is feature.core and features.command -- and the latter is installed conditionally based on the s

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856332047 @rovarga Ooh, yes! I have noticed that when the `KARAF-6210` issue happens, trying to do `config:edit` gets eaten and `scr:config` is the only config command available in my shell. --

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
rovarga commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856329801 > @jbonofre Ah, hrm, realizing that `org.apache.karaf.config.command` doesn't get pulled in by the standard featureset, since command.core is specified as a framework/startup bundle. What w

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856328319 erp, used to my internal workflow, I should probably not be force-pushing test changes here, sorry about that :) -- This is an automated message from the Apache Git Service. To respond

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856325273 > @RangerRick I just wonder if the root cause of the problem is really the shell in config. It sounds more like a race condition for me. So, this is not a fix but more a workaround imho.

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856323144 @jbonofre Ah, hrm, realizing that `org.apache.karaf.config.command` doesn't get pulled in by the standard featureset, since command.core is specified as a framework/startup bundle. Wh

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
jbonofre commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856311691 @RangerRick I just wonder if the root cause of the problem is really the shell in config. It sounds more like a race condition for me. So, this is not a fix but more a workaround imho. -

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856278673 I'm testing this out with a patch against 4.3.10 right now (which is what we still currently rely on, haven't figured out why we're having issues moving to 4.4 yet) -- This is an auto

Re: [PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
jbonofre commented on PR #1804: URL: https://github.com/apache/karaf/pull/1804#issuecomment-1856267125 @RangerRick Thanks ! That's a good idea, good catch. I will review and test the standard feature (four eyes verification :) ). I will probably include this in Karaf 4.5.0 and 4.4.5. --

[PR] KARAF-6210: extract core config commands to its own bundle [karaf]

2023-12-14 Thread via GitHub
RangerRick opened a new pull request, #1804: URL: https://github.com/apache/karaf/pull/1804 This PR performs a simple split of `org.apache.karaf.config.core` into `org.apache.karaf.config.core` and `org.apache.karaf.config.command` which resolves the problem of relying on the shell api in t