foundation-faq-2020 icon indicating copy to clipboard operation
foundation-faq-2020 copied to clipboard

How will the Foundation structure its board, bylaws, and operations?

Open carols10cents opened this issue 4 years ago • 5 comments

This is actually a number of questions, feel free to split up however you see fit!

  • Who will be on the board of the foundation? Initially, and over time?
  • What are the bylaws of the foundation?
  • How will the foundation operate?
  • How will the operations of the foundation be accessible to the community of maintainers?

If it's too early to answer these questions, then:

  • What is the plan and rough timeline for deciding on the board structure, bylaws, and operating procedures?

carols10cents avatar Dec 03 '20 13:12 carols10cents

I'm not sure there is anyone actively working on this crate, and fixing this bug probably requires non-trivial changes. You might consider using globset instead.

BurntSushi avatar Apr 16 '19 15:04 BurntSushi

Oh, sorry about the noise :sweat_smile: It showed up in the "GitHub Explore" mailing-list "based on your public repository contributions".

Thanks for the pointer.

remram44 avatar Apr 16 '19 16:04 remram44

globset seems to have the same problem, Glob::new() takes a string. This works fine for Americans and on UTF-8 machines but make it impossible to pass valid Path values to it.

[edit: and globset doesn't have a dedicated issue tracker]

remram44 avatar Apr 16 '19 16:04 remram44

No, globset does not suffer from the same problem. globset does require valid UTF-8 for the pattern, but it's matching function can accept any path.

[edit: and globset doesn't have a dedicated issue tracker]

It might some day, but you can just file bugs against ripgrep with globset mentioned in the issue.

If you have a use case for specifying a pattern that isn't valid UTF-8, then I would certainly be happy to have a bug for that, but please provide a real example, because it's not actually clear what the intended semantics should be.

Also, the focus on "Americans" is completely unnecessary. UTF-8 isn't specific to Americans.

BurntSushi avatar Apr 16 '19 16:04 BurntSushi

On a ISO-8859-15 system, I might want to match Glob::new(b"d\xE9cembre 2018 - *.jpg"). Or I might want to pass arguments from args_os() (without panicking on non-UTF-8 filenames) or clap.

I might also just want to build a pattern from an existing Path, for example to find rsync-style temp files (.<filename>.randomstring e.g. .cv_rémi.pdf.GV4H3). Path.file_name() correctly returns &OsStr which I can easily manipulate, but I can't feed it back to Glob::new().

remram44 avatar Apr 16 '19 16:04 remram44

Thanks for the example. I filed an issue and turned your example into code: https://github.com/BurntSushi/ripgrep/issues/1250

BurntSushi avatar Apr 16 '19 16:04 BurntSushi