Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 07 2020 09:04
    batzen opened #62
  • Sep 29 2020 14:55
    kthompson commented #41
  • Sep 29 2020 13:14
    jberd126 commented #41
  • Sep 29 2020 13:04
    jberd126 commented #41
  • Sep 29 2020 03:59

    kthompson on web-app

    WIP (compare)

  • Sep 28 2020 23:47
    kthompson commented #41
  • Sep 28 2020 23:34
    jberd126 commented #41
  • Sep 08 2020 07:06

    kthompson on develop

    Enabled nullable reference types (compare)

  • Sep 06 2020 21:58

    kthompson on develop

    Add exception for extended glob… (compare)

  • Sep 06 2020 21:13
    kthompson commented #41
  • Sep 06 2020 21:13
    kthompson commented #41
  • Sep 06 2020 21:11

    kthompson on develop

    Update Glob license and README (compare)

  • Sep 06 2020 20:35

    kthompson on develop

    Add support for parsing escape … (compare)

  • Sep 06 2020 20:23

    kthompson on develop

    Update Glob.Benchmarks (compare)

  • Sep 06 2020 02:25

    kthompson on develop

    Include .gitattributes in solut… Update GlobOptions so that matc… Bump test libraries to netcorea… and 1 more (compare)

  • Sep 06 2020 02:13

    kthompson on develop

    Add automated publishing for wi… (compare)

  • Sep 06 2020 02:10

    kthompson on 2.0.0

    (compare)

  • Sep 06 2020 02:03

    kthompson on develop

    Add automated publishing for wi… (compare)

  • Sep 06 2020 01:19
    kthompson commented #59
  • Sep 06 2020 01:12

    kthompson on develop

    Add automated publishing for wi… (compare)

Kevin Thompson
@kthompson
@nikr i merged your PR I will make a release in a minute
Kevin Thompson
@kthompson
alright 0.3.3 published to nuget
Niklas Rehfeld
@nikr
Cool, thanks.
I didn't get time to rebase it yesterday, different time zone to you, I suspect.
Kevin Thompson
@kthompson
yep np I went ahead and did it
Matthias Koch
@matkoch
Hey, I just noticed that between 0.3.4 and 0.4.0 there is a breaking change..... given a directory C:\foo\bar with a pattern *\test, the older version would match C:\foo\bar\anything\test... but not the latest version.... there you would need to specify **\test.
is this intentional?
Kevin Thompson
@kthompson
@matkoch typically * should only match one directory so if it matched more in 0.3.4 it was a bug. the pattern to match multiple directories would be **/test
Matthias Koch
@matkoch
@kthompson no this can't be right

new DirectoryInfo(@"C:\code\nuke-build").GlobFiles(@"*/.nuke")
this previously gave me the output

C:\code\nuke-build\cake\.nuke
C:\code\nuke-build\compression\.nuke
C:\code\nuke-build\nuke\.nuke
C:\code\nuke-build\powershell\.nuke
C:\code\nuke-build\sample\.nuke
C:\code\nuke-build\tools\.nuke
C:\code\nuke-build\web\.nuke
C:\code\nuke-build\web\repos\nuke-build\git\.nuke
C:\code\nuke-build\web\repos\nuke-build\nuke\.nuke

which is right

it makes no sense to use ** just to match the directory i specified in the beginning.... at least i don't see any reason
Matthias Koch
@matkoch
also, let's assume you have the globbing pattern *\*.txt with the given directoryinfo a) C:\ and b) C:\temp\ ... this yields a completely different behavior
Matthias Koch
@matkoch
in other terms, how would I ensure, that I'm searching for files of depth 1 () instead of n (*)
Matthias Koch
@matkoch
(*) and (**) ..... damn formatting :)
Kevin Thompson
@kthompson
I would expect new DirectoryInfo(@"C:\code\nuke-build").GlobFiles(@"*/.nuke") to only output
C:\code\nuke-build\cake\.nuke
C:\code\nuke-build\compression\.nuke
C:\code\nuke-build\nuke\.nuke
C:\code\nuke-build\powershell\.nuke
C:\code\nuke-build\sample\.nuke
C:\code\nuke-build\tools\.nuke
C:\code\nuke-build\web\.nuke
* should only match one level
Matthias Koch
@matkoch
but it doesn’t
Kevin Thompson
@kthompson
ok let me make some tests i dont think there is really any coverage on the GlobExtensions stuff
i think I see at least one thing that is wrong
GlobExtensions all match on the full path and not the relative one
Matthias Koch
@matkoch
sounds like it could cause this issue
Kevin Thompson
@kthompson
i pushed a new build to master. maybe check it out and see if it meets your needs. if it seems good then ill make a release on nuget
Renato Marinho
@renatomarinho
This message was deleted
Renato Marinho
@renatomarinho
This message was deleted
Lioxor64
@lioxor64

Hello, my name is Liora and I am currently hunting open source projects for company NeuraLegion (www.neuralegion.com)
We just launched a free annual subscription for open source projects for our AIAST tool NexPloit.

If you are interested, please, reach us on opensource@neuralegion.com!

Thank you for your time and consideration! If you have any questions, please do not hesitate to contact us!

Best!

Rudde
@Rudde
Hey
If I let my users give a glob expression as input parameter, is there any way from that one input to get files that match it?