Re: git?
On Sat, Oct 24, 2015 at 11:50 PM, Marcel Offermans wrote: > I’m +0 on making a switch because it’s also a lot of work and I don’t think > the benefits are huge. If it works, don’t fix it. :) +1 to that. Side-line for me too. SVN isn't that bad after all, and along with 'git svn' most of the benefits of git (quick local branching/fast commit history etc) can be realized locally by developers. Not that imp but for me at times the linear progressing svn revision feels more useful to determine if a particular CL made it to a particular released.
[jira] [Created] (FELIX-5089) [framework] Allow adding all osgi.core packages to system.packages property with expression
Balazs Zsoldos created FELIX-5089: - Summary: [framework] Allow adding all osgi.core packages to system.packages property with expression Key: FELIX-5089 URL: https://issues.apache.org/jira/browse/FELIX-5089 Project: Felix Issue Type: Wish Components: Framework Reporter: Balazs Zsoldos See Richard's suggestion how the use-case could be solved: http://www.mail-archive.com/users%40felix.apache.org/msg16828.html {quote} I think it is reasonable to allow someone to hide exports from the system bundle, but that doesn't mean that this process couldn't be improved. For example, we could introduce a new variable ${framework-exports} as an alias to what the framework exports, so then in our default properties file the system.packages could be written something like this: org.osgi.framework.system.packages= ${dollar}{framework-exports} \ ${dollar}{jre-${dollar}{java.specification.version}} Thus making it easier for people who want to override system.packages by using our alias. Of course, though, if you just want to add stuff to system packages, then you should be using system.packages.extra like others have suggested. {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FELIX-5089) [framework] Allow adding all osgi.core packages to system.packages property with expression
[ https://issues.apache.org/jira/browse/FELIX-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Balazs Zsoldos updated FELIX-5089: -- Description: See Richard's suggestion how the use-case could be solved: http://www.mail-archive.com/users%40felix.apache.org/msg16828.html {quote} I think it is reasonable to allow someone to hide exports from the system bundle, but that doesn't mean that this process couldn't be improved. For example, we could introduce a new variable $\{framework-exports} as an alias to what the framework exports, so then in our default properties file the system.packages could be written something like this: org.osgi.framework.system.packages= $\{dollar}\{framework-exports} \ $\{dollar}\{jre-$\{dollar}\{java.specification.version}} Thus making it easier for people who want to override system.packages by using our alias. Of course, though, if you just want to add stuff to system packages, then you should be using system.packages.extra like others have suggested. {quote} was: See Richard's suggestion how the use-case could be solved: http://www.mail-archive.com/users%40felix.apache.org/msg16828.html {quote} I think it is reasonable to allow someone to hide exports from the system bundle, but that doesn't mean that this process couldn't be improved. For example, we could introduce a new variable ${framework-exports} as an alias to what the framework exports, so then in our default properties file the system.packages could be written something like this: org.osgi.framework.system.packages= ${dollar}{framework-exports} \ ${dollar}{jre-${dollar}{java.specification.version}} Thus making it easier for people who want to override system.packages by using our alias. Of course, though, if you just want to add stuff to system packages, then you should be using system.packages.extra like others have suggested. {quote} > [framework] Allow adding all osgi.core packages to system.packages property > with expression > --- > > Key: FELIX-5089 > URL: https://issues.apache.org/jira/browse/FELIX-5089 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Richard's suggestion how the use-case could be solved: > http://www.mail-archive.com/users%40felix.apache.org/msg16828.html > {quote} > I think it is reasonable to allow someone to hide exports from the system > bundle, but that doesn't mean that this process couldn't be improved. For > example, we could introduce a new variable $\{framework-exports} as an alias > to what the framework exports, so then in our default properties file the > system.packages could be written something like this: > org.osgi.framework.system.packages= $\{dollar}\{framework-exports} \ > $\{dollar}\{jre-$\{dollar}\{java.specification.version}} > Thus making it easier for people who want to override system.packages by > using our alias. > Of course, though, if you just want to add stuff to system packages, then you > should be using system.packages.extra like others have suggested. > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
Balazs Zsoldos created FELIX-5090: - Summary: [framework] Possibility to exclude packages from system.packages Key: FELIX-5090 URL: https://issues.apache.org/jira/browse/FELIX-5090 Project: Felix Issue Type: Wish Components: Framework Reporter: Balazs Zsoldos See Christian's mail that is part of a long discussion: http://www.mail-archive.com/users%40felix.apache.org/msg16834.html {quote} A typical case I have is that I need to remove some packages from the system packages. Would it be possible to have a property like: org.osgi.framework.system.packages.ignore=javax.transaction {quote} The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FELIX-5091) Allow to exclude system packages without redefining all exports
Christian Schneider created FELIX-5091: -- Summary: Allow to exclude system packages without redefining all exports Key: FELIX-5091 URL: https://issues.apache.org/jira/browse/FELIX-5091 Project: Felix Issue Type: Improvement Components: Framework Affects Versions: framework-5.4.0 Reporter: Christian Schneider Fix For: framework-5.6.0 There are several cases where the OSGi framework exports system packages by default but the result is not usable. For example javax.transaction is exported but the package is not complete. So a regular case is to exclude this package and provide it as a bundle. Currently this can be done by redefining org.osgi.framework.system.packages. The problem is that you then need to redefine all the system packages which is a big list and additionally differs between java versions. So I propose to allow to exclude single packages without having to redefine them all. One simple solution would be to use org.osgi.framework.system.packages.extra and allow to specify a package to exclude by prefixing it with "-". E.g. org.osgi.framework.system.packages.extra=-javax.transaction,-javax.transaction.xa This would avoid creating another framework property. Alternatively we could introduce a new property like: org.osgi.framework.system.packages.exclude=javax.transaction,javax.transaction.xa This property would then only allow to exclude exports. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977982#comment-14977982 ] Christian Schneider commented on FELIX-5090: I also just created an issue for this. Should I remove my version? > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5091) Allow to exclude system packages without redefining all exports
[ https://issues.apache.org/jira/browse/FELIX-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977993#comment-14977993 ] Peter Kriens commented on FELIX-5091: - The format of the org.osgi.framework.system.packages.extra is standardized by the OSGi so you are creating proprietary extensions. In this particular case it is a bad idea anyway since you can run into problems with the uses constraints. I think sql packages referent to jta. Since the sql packages come from the JVM, you create a nice mess. The only proper solution Ive found is to put the correct JTA package on the same class path as where framework resides. This will then fill in the missing package from the JVM. In bndtools this is easily done by placing the jar on the -runpath -runpath: javax.transaction;version=1.1 If it has an exports they will be automatically added to the system packages. > Allow to exclude system packages without redefining all exports > --- > > Key: FELIX-5091 > URL: https://issues.apache.org/jira/browse/FELIX-5091 > Project: Felix > Issue Type: Improvement > Components: Framework >Affects Versions: framework-5.4.0 >Reporter: Christian Schneider > Fix For: framework-5.6.0 > > > There are several cases where the OSGi framework exports system packages by > default but the result is not usable. > For example javax.transaction is exported but the package is not complete. So > a regular case is to exclude this package and provide it as a bundle. > Currently this can be done by redefining org.osgi.framework.system.packages. > The problem is that you then need to redefine all the system packages which > is a big list and additionally differs between java versions. > So I propose to allow to exclude single packages without having to redefine > them all. > One simple solution would be to use org.osgi.framework.system.packages.extra > and allow to specify a package to exclude by prefixing it with "-". > E.g. > org.osgi.framework.system.packages.extra=-javax.transaction,-javax.transaction.xa > This would avoid creating another framework property. > Alternatively we could introduce a new property like: > org.osgi.framework.system.packages.exclude=javax.transaction,javax.transaction.xa > This property would then only allow to exclude exports. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978063#comment-14978063 ] Balazs Zsoldos commented on FELIX-5090: --- I close this one with the duplicate flag. Could you please let me know the id of the issue you created? > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978065#comment-14978065 ] Balazs Zsoldos commented on FELIX-5090: --- I close this one with the duplicate flag. Could you please let me know the id of the issue you created? > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978062#comment-14978062 ] Balazs Zsoldos commented on FELIX-5090: --- I close this one with the duplicate flag. Could you please let me know the id of the issue you created? > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Balazs Zsoldos updated FELIX-5090: -- Comment: was deleted (was: I close this one with the duplicate flag. Could you please let me know the id of the issue you created?) > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Balazs Zsoldos updated FELIX-5090: -- Comment: was deleted (was: I close this one with the duplicate flag. Could you please let me know the id of the issue you created?) > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978091#comment-14978091 ] Christian Schneider commented on FELIX-5090: FELIX-5091 :-) > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Balazs Zsoldos closed FELIX-5090. - Resolution: Duplicate Duplicate of FELIX-5091 > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5090) [framework] Possibility to exclude packages from system.packages
[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978150#comment-14978150 ] Balazs Zsoldos commented on FELIX-5090: --- Offtopic: {quote} The only proper solution Ive found is to put the correct JTA package on the same class path as where framework resides. {quote} I ignored both javax.sql.* and javax.transaction.* packages from the system.packages. I used both of them from separate bundles. I also uploaded the different versions of javax.sql packages as OSGi bundles to maven-central. I feel this a bit cleaner solution. With Java 9, the package sets of Java will be hopefully available as separate jars, so it will not be a big job to load everything from bundles, except java.* packages. > [framework] Possibility to exclude packages from system.packages > > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework >Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FELIX-5092) CaseInsensitiveDictionary handling of empty collection is inconsistent
Eric Lessard created FELIX-5092: --- Summary: CaseInsensitiveDictionary handling of empty collection is inconsistent Key: FELIX-5092 URL: https://issues.apache.org/jira/browse/FELIX-5092 Project: Felix Issue Type: Bug Affects Versions: configadmin-1.8.8 Reporter: Eric Lessard The current implementation of {{CaseInsensitiveDictionary.checkValue()}} throws an exception when a value is set to an empty collection but accepts empty arrays. This behavior is inconsistent and requires the code that deals with {{Configuration}} properties to behave differently when setting or getting attributes with a cardinality based on whether the cardinality is positive or negative. This topic has already been discussed in the mailing lists and no reason could be found for this difference in behavior (http://www.mail-archive.com/dev%40felix.apache.org/msg33878.html) so it'd be nice to make this consistent and allow empty collections. -- This message was sent by Atlassian JIRA (v6.3.4#6332)