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
DESCRIPTION
<BASE_DIR>/forge.example.com/:
This directory contains all data related to a particular forge instance running
at forge.example.com
<BASE_DIR>/forge.example.com/forgeinfo:
This file contains metadata pertaining to a forge.
The file format and file name is left to the discretion of the
implementer.
<BASE_DIR>/forge.example.com/john/:
This directory contains all data related to a user named "john"
on forge instance at forge.example.com.
<BASE_DIR>/forge.example.com/john/userinfo:
This file contains all metadata related to a user named "john"
on forge instance at forge.example.com.
The file format and file name is left to the discretion of the
implementer.
<BASE_DIR>/forge.example.com/john/repo-foo/:
This directory contains all data related to a repository named
"repo-foo" owned by user "john" on forge instance at
forge.example.com.
<BASE_DIR>/forge.example.com/john/repo-foo/repo-info:
This file contains all metadata related to a repository named
"repo-foo" owned by user "john" on forge instance at
forge.example.com.
The file format and file name is left to the discretion of the
implementer.