Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update deps #314

Closed
wants to merge 1 commit into from
Closed

update deps #314

wants to merge 1 commit into from

Conversation

mofosyne
Copy link

@mofosyne mofosyne commented Jun 22, 2024

Looks like it did these

  • deps/list/clib.json added and update list.c/h
  • deps/strdup/strdup.c cleaned up
  • deps/tinydir/tinydir.h cpp support etc...

and some whitespace changes to clib.json

$ clib update
     warning : missing "description" in  clib.json
     warning : missing "license" in  clib.json
     warning : missing "keywords" in  clib.json
       fetch : stephenmathieson/trim.c:package.json
       fetch : stephenmathieson/trim.c:src/trim.c
       fetch : stephenmathieson/trim.c:src/trim.h
        save : ./deps/trim/trim.c
        save : ./deps/trim/trim.h
       fetch : clibs/which:package.json
       fetch : clibs/which:src/which.c
       fetch : clibs/which:src/which.h
        save : ./deps/which/which.c
        save : ./deps/which/which.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : stephenmathieson/str-flatten.c:package.json
       fetch : stephenmathieson/str-flatten.c:src/str-flatten.c
       fetch : stephenmathieson/str-flatten.c:src/str-flatten.h
        save : ./deps/str-flatten/str-flatten.c
        save : ./deps/str-flatten/str-flatten.h
       fetch : clibs/commander:package.json
       fetch : clibs/commander:src/commander.h
       fetch : clibs/commander:src/commander.c
        save : ./deps/commander/commander.h
        save : ./deps/commander/commander.c
       fetch : stephenmathieson/wiki-registry.c:package.json
       fetch : stephenmathieson/wiki-registry.c:src/wiki-registry.c
       fetch : stephenmathieson/wiki-registry.c:src/wiki-registry.h
        save : ./deps/wiki-registry/wiki-registry.c
        save : ./deps/wiki-registry/wiki-registry.h
       fetch : thlorenz/gumbo-parser.c:package.json
     warning : missing repo in clib.json or package.json file for gumbo-parser
       fetch : thlorenz/gumbo-parser:src/attribute.c
       fetch : thlorenz/gumbo-parser:src/attribute.h
       fetch : thlorenz/gumbo-parser:src/char_ref.c
       fetch : thlorenz/gumbo-parser:src/error.h
       fetch : thlorenz/gumbo-parser:src/insertion_mode.h
       fetch : thlorenz/gumbo-parser:src/gumbo.h
       fetch : thlorenz/gumbo-parser:src/error.c
       fetch : thlorenz/gumbo-parser:src/char_ref.h
       fetch : thlorenz/gumbo-parser:src/string_buffer.h
       fetch : thlorenz/gumbo-parser:src/parser.h
       fetch : thlorenz/gumbo-parser:src/parser.c
       fetch : thlorenz/gumbo-parser:src/string_buffer.c
        save : ./deps/gumbo-parser/attribute.h
        save : ./deps/gumbo-parser/attribute.c
        save : ./deps/gumbo-parser/char_ref.h
        save : ./deps/gumbo-parser/error.h
        save : ./deps/gumbo-parser/string_buffer.c
        save : ./deps/gumbo-parser/insertion_mode.h
        save : ./deps/gumbo-parser/char_ref.c
        save : ./deps/gumbo-parser/error.c
        save : ./deps/gumbo-parser/parser.h
        save : ./deps/gumbo-parser/string_buffer.h
        save : ./deps/gumbo-parser/gumbo.h
        save : ./deps/gumbo-parser/parser.c
       fetch : thlorenz/gumbo-parser:src/string_piece.c
       fetch : thlorenz/gumbo-parser:src/string_piece.h
       fetch : thlorenz/gumbo-parser:src/tag.c
       fetch : thlorenz/gumbo-parser:src/token_type.h
       fetch : thlorenz/gumbo-parser:src/utf8.c
       fetch : thlorenz/gumbo-parser:src/tokenizer_states.h
       fetch : thlorenz/gumbo-parser:src/tokenizer.h
       fetch : thlorenz/gumbo-parser:src/util.h
       fetch : thlorenz/gumbo-parser:src/vector.c
       fetch : thlorenz/gumbo-parser:src/tokenizer.c
       fetch : thlorenz/gumbo-parser:src/utf8.h
       fetch : thlorenz/gumbo-parser:src/util.c
        save : ./deps/gumbo-parser/tokenizer_states.h
        save : ./deps/gumbo-parser/string_piece.h
        save : ./deps/gumbo-parser/string_piece.c
        save : ./deps/gumbo-parser/token_type.h
        save : ./deps/gumbo-parser/utf8.c
        save : ./deps/gumbo-parser/vector.c
        save : ./deps/gumbo-parser/util.h
        save : ./deps/gumbo-parser/util.c
        save : ./deps/gumbo-parser/utf8.h
        save : ./deps/gumbo-parser/tokenizer.h
        save : ./deps/gumbo-parser/tag.c
        save : ./deps/gumbo-parser/tokenizer.c
       fetch : thlorenz/gumbo-parser:src/vector.h
        save : ./deps/gumbo-parser/vector.h
       fetch : stephenmathieson/substr.c:package.json
       fetch : stephenmathieson/substr.c:src/substr.c
       fetch : stephenmathieson/substr.c:src/substr.h
        save : ./deps/substr/substr.c
        save : ./deps/substr/substr.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.c
        save : ./deps/strdup/strdup.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : stephenmathieson/http-get.c:clib.json
       fetch : clibs/http-get.c:src/http-get.c
       fetch : clibs/http-get.c:src/http-get.h
        save : ./deps/http-get/http-get.h
        save : ./deps/http-get/http-get.c
       fetch : stephenmathieson/case.c:package.json
       fetch : stephenmathieson/case.c:src/case.c
       fetch : stephenmathieson/case.c:src/case.h
        save : ./deps/case/case.c
        save : ./deps/case/case.h
       fetch : stephenmathieson/trim.c:package.json
       fetch : stephenmathieson/trim.c:src/trim.c
       fetch : stephenmathieson/trim.c:src/trim.h
        save : ./deps/trim/trim.c
        save : ./deps/trim/trim.h
       fetch : stephenmathieson/gumbo-text-content.c:package.json
       fetch : stephenmathieson/gumbo-text-content.c:src/gumbo-text-content.c
       fetch : stephenmathieson/gumbo-text-content.c:src/gumbo-text-content.h
        save : ./deps/gumbo-text-content/gumbo-text-content.h
        save : ./deps/gumbo-text-content/gumbo-text-content.c
       fetch : stephenmathieson/gumbo-get-element-by-id.c:package.json
       fetch : stephenmathieson/gumbo-get-element-by-id.c:src/get-element-by-id.c
       fetch : stephenmathieson/gumbo-get-element-by-id.c:src/get-element-by-id.h
        save : ./deps/gumbo-get-element-by-id/get-element-by-id.c
        save : ./deps/gumbo-get-element-by-id/get-element-by-id.h
       fetch : stephenmathieson/gumbo-get-elements-by-tag-name.c:package.json
       fetch : stephenmathieson/gumbo-get-elements-by-tag-name.c:src/get-elements-by-tag-name.c
       fetch : stephenmathieson/gumbo-get-elements-by-tag-name.c:src/get-elements-by-tag-name.h
        save : ./deps/gumbo-get-elements-by-tag-name/get-elements-by-tag-name.h
        save : ./deps/gumbo-get-elements-by-tag-name/get-elements-by-tag-name.c
       fetch : clibs/list:clib.json
       fetch : clibs/list:src/list_iterator.c
       fetch : clibs/list:src/list.c
       fetch : clibs/list:src/list_node.c
       fetch : clibs/list:src/list.h
        save : ./deps/list/list_node.c
        save : ./deps/list/list_iterator.c
        save : ./deps/list/list.h
        save : ./deps/list/list.c
       fetch : stephenmathieson/case.c:package.json
       fetch : stephenmathieson/case.c:src/case.c
       fetch : stephenmathieson/case.c:src/case.h
        save : ./deps/case/case.h
        save : ./deps/case/case.c
       fetch : stephenmathieson/trim.c:package.json
       fetch : stephenmathieson/trim.c:src/trim.c
       fetch : stephenmathieson/trim.c:src/trim.h
        save : ./deps/trim/trim.h
        save : ./deps/trim/trim.c
       fetch : clibs/list:clib.json
       fetch : clibs/list:src/list_iterator.c
       fetch : clibs/list:src/list.c
       fetch : clibs/list:src/list_node.c
       fetch : clibs/list:src/list.h
        save : ./deps/list/list_node.c
        save : ./deps/list/list.c
        save : ./deps/list/list.h
        save : ./deps/list/list_iterator.c
       fetch : stephenmathieson/case.c:package.json
       fetch : stephenmathieson/case.c:src/case.c
       fetch : stephenmathieson/case.c:src/case.h
        save : ./deps/case/case.h
        save : ./deps/case/case.c
       fetch : jwerle/fs.c:clib.json
       fetch : jwerle/fs.c:fs.h
       fetch : jwerle/fs.c:fs.c
        save : ./deps/fs/fs.h
        save : ./deps/fs/fs.c
       fetch : stephenmathieson/str-replace.c:package.json
       fetch : stephenmathieson/str-replace.c:src/str-replace.c
       fetch : stephenmathieson/str-replace.c:src/str-replace.h
        save : ./deps/str-replace/str-replace.c
        save : ./deps/str-replace/str-replace.h
       fetch : stephenmathieson/occurrences.c:package.json
       fetch : stephenmathieson/occurrences.c:occurrences.c
       fetch : stephenmathieson/occurrences.c:occurrences.h
        save : ./deps/occurrences/occurrences.c
        save : ./deps/occurrences/occurrences.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : clibs/strdup:clib.json
       fetch : clibs/strdup:strdup.h
       fetch : clibs/strdup:strdup.c
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : Constellation/console-colors.c:package.json
       fetch : Constellation/console-colors.c:console-colors.c
       fetch : Constellation/console-colors.c:console-colors.h
        save : ./deps/console-colors/console-colors.c
        save : ./deps/console-colors/console-colors.h
       fetch : littlstar/asprintf.c:package.json
       fetch : littlstar/asprintf.c:asprintf.h
       fetch : littlstar/asprintf.c:asprintf.c
        save : ./deps/asprintf/asprintf.c
        save : ./deps/asprintf/asprintf.h
       fetch : clibs/logger:package.json
       fetch : clibs/logger:logger.h
        save : ./deps/logger/logger.h
       fetch : Constellation/console-colors.c:package.json
       fetch : Constellation/console-colors.c:console-colors.c
       fetch : Constellation/console-colors.c:console-colors.h
        save : ./deps/console-colors/console-colors.h
        save : ./deps/console-colors/console-colors.c
       fetch : clibs/parson:package.json
       fetch : clibs/parson:parson.c
       fetch : clibs/parson:parson.h
        save : ./deps/parson/parson.h
        save : ./deps/parson/parson.c
       fetch : clibs/http-get.c:clib.json
       fetch : clibs/http-get.c:src/http-get.c
       fetch : clibs/http-get.c:src/http-get.h
        save : ./deps/http-get/http-get.h
        save : ./deps/http-get/http-get.c
       fetch : clibs/hash:package.json
       fetch : clibs/hash:hash.h
       fetch : clibs/hash:hash.c
       fetch : clibs/hash:khash.h
        save : ./deps/hash/hash.c
        save : ./deps/hash/hash.h
        save : ./deps/hash/khash.h
       fetch : clibs/list:clib.json
       fetch : clibs/list:src/list_iterator.c
       fetch : clibs/list:src/list.c
       fetch : clibs/list:src/list_node.c
       fetch : clibs/list:src/list.h
        save : ./deps/list/list_iterator.c
        save : ./deps/list/list_node.c
        save : ./deps/list/list.h
        save : ./deps/list/list.c
       fetch : stephenmathieson/substr.c:package.json
       fetch : stephenmathieson/substr.c:src/substr.c
       fetch : stephenmathieson/substr.c:src/substr.h
        save : ./deps/substr/substr.h
        save : ./deps/substr/substr.c
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : stephenmathieson/mkdirp.c:package.json
       fetch : stephenmathieson/mkdirp.c:src/mkdirp.c
       fetch : stephenmathieson/mkdirp.c:src/mkdirp.h
        save : ./deps/mkdirp/mkdirp.c
        save : ./deps/mkdirp/mkdirp.h
       fetch : stephenmathieson/path-normalize.c:package.json
       fetch : stephenmathieson/path-normalize.c:src/path-normalize.c
       fetch : stephenmathieson/path-normalize.c:src/path-normalize.h
        save : ./deps/path-normalize/path-normalize.c
        save : ./deps/path-normalize/path-normalize.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.c
        save : ./deps/strdup/strdup.h
       fetch : stephenmathieson/path-join.c:package.json
       fetch : stephenmathieson/path-join.c:src/path-join.c
       fetch : stephenmathieson/path-join.c:src/path-join.h
        save : ./deps/path-join/path-join.c
        save : ./deps/path-join/path-join.h
       fetch : stephenmathieson/str-starts-with.c:package.json
       fetch : stephenmathieson/str-starts-with.c:src/str-starts-with.c
       fetch : stephenmathieson/str-starts-with.c:src/str-starts-with.h
        save : ./deps/str-starts-with/str-starts-with.c
        save : ./deps/str-starts-with/str-starts-with.h
       fetch : stephenmathieson/str-ends-with.c:package.json
       fetch : stephenmathieson/str-ends-with.c:src/str-ends-with.c
       fetch : stephenmathieson/str-ends-with.c:src/str-ends-with.h
        save : ./deps/str-ends-with/str-ends-with.c
        save : ./deps/str-ends-with/str-ends-with.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : stephenmathieson/parse-repo.c:package.json
       fetch : stephenmathieson/parse-repo.c:src/parse-repo.c
       fetch : stephenmathieson/parse-repo.c:src/parse-repo.h
        save : ./deps/parse-repo/parse-repo.h
        save : ./deps/parse-repo/parse-repo.c
       fetch : stephenmathieson/substr.c:package.json
       fetch : stephenmathieson/substr.c:src/substr.h
       fetch : stephenmathieson/substr.c:src/substr.c
        save : ./deps/substr/substr.c
        save : ./deps/substr/substr.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : stephenmathieson/debug.c:package.json
       fetch : stephenmathieson/debug.c:debug.h
       fetch : stephenmathieson/debug.c:debug.c
        save : ./deps/debug/debug.c
        save : ./deps/debug/debug.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.c
        save : ./deps/strdup/strdup.h
       fetch : littlstar/asprintf.c:package.json
       fetch : littlstar/asprintf.c:asprintf.h
       fetch : littlstar/asprintf.c:asprintf.c
        save : ./deps/asprintf/asprintf.c
        save : ./deps/asprintf/asprintf.h
       fetch : clibs/wildcardcmp:package.json
       fetch : clibs/wildcardcmp:wildcardcmp.c
       fetch : clibs/wildcardcmp:wildcardcmp.h
        save : ./deps/wildcardcmp/wildcardcmp.c
        save : ./deps/wildcardcmp/wildcardcmp.h
       fetch : stephenmathieson/tempdir.c:package.json
       fetch : stephenmathieson/tempdir.c:tempdir.h
       fetch : stephenmathieson/tempdir.c:tempdir.c
        save : ./deps/tempdir/tempdir.h
        save : ./deps/tempdir/tempdir.c
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.h
        save : ./deps/strdup/strdup.c
       fetch : isty001/copy:package.json
       fetch : Isty001/copy:src/copy.c
       fetch : Isty001/copy:src/copy.h
        save : ./deps/copy/copy.c
        save : ./deps/copy/copy.h
       fetch : cxong/tinydir:package.json
       fetch : cxong/tinydir:tinydir.h
        save : ./deps/tinydir/tinydir.h
       fetch : jwerle/fs.c:package.json
       fetch : jwerle/fs.c:fs.h
       fetch : jwerle/fs.c:fs.c
        save : ./deps/fs/fs.c
        save : ./deps/fs/fs.h
       fetch : stephenmathieson/rimraf.c:package.json
       fetch : stephenmathieson/rimraf.c:src/rimraf.c
       fetch : stephenmathieson/rimraf.c:src/rimraf.h
        save : ./deps/rimraf/rimraf.h
        save : ./deps/rimraf/rimraf.c
       fetch : stephenmathieson/path-join.c:package.json
       fetch : stephenmathieson/path-join.c:src/path-join.c
       fetch : stephenmathieson/path-join.c:src/path-join.h
        save : ./deps/path-join/path-join.c
        save : ./deps/path-join/path-join.h
       fetch : stephenmathieson/str-starts-with.c:package.json
       fetch : stephenmathieson/str-starts-with.c:src/str-starts-with.c
       fetch : stephenmathieson/str-starts-with.c:src/str-starts-with.h
        save : ./deps/str-starts-with/str-starts-with.c
        save : ./deps/str-starts-with/str-starts-with.h
       fetch : stephenmathieson/str-ends-with.c:package.json
       fetch : stephenmathieson/str-ends-with.c:src/str-ends-with.c
       fetch : stephenmathieson/str-ends-with.c:src/str-ends-with.h
        save : ./deps/str-ends-with/str-ends-with.c
        save : ./deps/str-ends-with/str-ends-with.h
       fetch : clibs/strdup:package.json
       fetch : clibs/strdup:strdup.c
       fetch : clibs/strdup:strdup.h
        save : ./deps/strdup/strdup.c
        save : ./deps/strdup/strdup.h
       fetch : h2non/semver.c:package.json
       fetch : h2non/semver.c:semver.c
       fetch : h2non/semver.c:semver.h
        save : ./deps/semver/semver.c
        save : ./deps/semver/semver.h

@diasbruno
Copy link
Member

@mofosyne I've patched wiki-registry, so once it gets merged, we will need to bump its version.

@mofosyne
Copy link
Author

@diasbruno thanks mate. Do you think we should move these libs to the clib organizations considering it's a core part of the clib system?

This would allow for adding more self contained tests and other stability improvements.

I recall trying to use clib a while ago and the stability issue kinda put me off using this, so focusing on improving the stability and coding standard of these could help.

What appeals to me over trying to figure out conan is the simplicity and pure focus on C so looking forward to figuring out how to make this tool more robust.

@mofosyne mofosyne closed this Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants