Commit graph

4 commits

Author SHA1 Message Date
30c245ea8f
feat: impl import for publiccodeyml 2023-03-02 17:39:14 +05:30
3f088a8cb8
fix: return string instead of pathbuf 2023-02-11 19:39:50 +05:30
fe8bd2fb26
fix & chore: handle hostname/URL cleaning within trait implementation
SUMMARY
    Renamed function parameters from "hostname" to "url" wherever a
    url::Url is received

    db_core::get_hostname is renamed to db_core::clean_url, better
    describing its new implementation

    forge_core::get_hostname is renamed to forge_core::get_url to better
    describe its new implementation

URL PROCESSING METHODS

    federate/federate-core
	Parses URL and returns only the hostname

    db/db-core
	Parses URL, cleans it by removing path and query parameters and
	returns the end result
2022-07-15 20:52:47 +05:30
fd0b2f5d6d
feat: implement federate_core on a subset of publiccodeyml schema
REFERENCES
    [0]: https://github.com/forgeflux-org/starchart/issues/3
    [1]: https://github.com/publiccodeyml/publiccode.yml/discussions/157
2022-05-17 19:48:26 +05:30