Bug#1021398: ITP: golang-github-niemeyer-pretty -- Pretty printing for Go values

2022-10-07 Thread sunmin
Package: wnpp
Severity: wishlist
Owner: sunmin 
X-Debbugs-Cc: debian-devel@lists.debian.org,debian...@lists.debian.org

* Package name: golang-github-niemeyer-pretty
  Version : 2011-12-22-1
  Upstream Author : Gustavo Niemeyer
* URL : https://github.com/niemeyer/pretty
* License : Expat
  Programming Lang: Go
  Description : Pretty printing for Go values

 package pretty
 .
 import "github.com/kr/pretty"
 .
 Package pretty provides pretty-printing for Go values.
 .
 Documentation
 .
 http://godoc.org/github.com/kr/pretty

This package is a dependency of sigs.k8s.io/kustomize/kyaml@v0.13.6

I'd like to package it to the official repo, thanks!!!



Bug#1022213: ITP: golang-github-kr-pretty -- Pretty printing for Go values

2022-10-21 Thread sunmin
Package: wnpp
Severity: wishlist
Owner: sunmin 
X-Debbugs-Cc: debian-devel@lists.debian.org, debian...@lists.debian.org 

* Package name: golang-github-kr-pretty
  Version : 0.3.1-1
  Upstream Author : 
* URL : https://github.com/kr/pretty 
* License : MIT
  Programming Lang: Go 
  Description : Pretty printing for Go values


 This package is a depedency of 
https://github.com/kubernetes-sigs/kustomize/tree/master/kyaml

 kustomize is currently not available witin debian official repo.

 It's necessary to porting its depedencies first. 

 This package is forked by another package called golang-github-niemeyer-pretty 
ref : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021398

 niemeyer-pretty is seldomly contributed and this origin repo provide more 
features and is maintained well. 

 package pretty
 .
 import "github.com/kr/pretty"
 .
 Package pretty provides pretty-printing for Go values.
 .
 Documentation
 .
 http://godoc.org/github.com/kr/pretty



Bug#1022938: ITP: junit-clptr -- ClassLoader per Test runner for JUnit 4.12+ based on myfaces-test "TestPerClassLoaderRunner".

2022-10-27 Thread sunmin
Package: wnpp
Severity: wishlist
Owner: sunmin 
X-Debbugs-Cc: debian-devel@lists.debian.org,debian-j...@lists.debian.org

* Package name: junit-clptr
  Version : 1.2.2
  Upstream Author : Pino Silvaggio
* URL : https://github.com/bitstrings/junit-clptr
* License : Apache License 2.0 
  Programming Lang: Java 
  Description : ClassLoader per Test runner for JUnit 4.12+ based on 
myfaces-test "TestPerClassLoaderRunner".

ClassLoader per Test runner for JUnit 4.12+ based on myfaces-test 
"TestPerClassLoaderRunner".

Each test method will run with its very own ClassLoader which can be very 
useful for a variety of use cases (testing classes with static fields for 
example).

Maven dependency

  org.bitstrings.test
  junit-clptr
  1.2.2

Usage
import org.bitstrings.test.junit.runner.ClassLoaderPerTestRunner;

@RunWith( ClassLoaderPerTestRunner.class )
public class Test
{
  ...
}
Exclude classes using @ClptrExclude annotation
You can exclude a package or a specific class.

@RunWith( ClassLoaderPerTestRunner.class )
@ClptrExclude( "mockit." )
public class Test
{
...
}
@RunWith( ClassLoaderPerTestRunner.class )
@ClptrExclude( { "mockit.", "org.somethings.MyClass" } )
public class Test
{
...
}
You may use @ClptrExclude on classes and methods.

Globally exclude classes from isolation using file
Use the default file clptr-excludes.properties to add excluded packages or 
classes from isolation.

The file should be on the classpath.

You can override the excludes file location using the system property 
org.bitstrings.test.junit.runner.TestClassLoader.excludes.

org.bitstrings.test.junit.runner.TestClassLoader.excludes=com/company/res/clptr-excludes.properties
The file is simply a list of packages and classes (see @ClptrExclude):

jmockit.
org.apache.
com.company.test.TestClass
What's new
@ClptrExclude annotation;
Fix for "@Rule" annotated field and method;
Threadsafe (Hopeful...);
Support excludes.


This package is a new dependency of the latest upstream 
libcommons-validator-java v1.7 
(https://github.com/apache/commons-validator/releases/tag/VALIDATOR_1_7)