RegistryActivity.jl Documentation

This is the reference documentation of RegistryActivity.jl.

Index

Functions

RegistryActivity.count_packagesFunction
count_packages(path, packages=TOML.parsefile(joinpath(path, "Registry.toml"))["packages"])

Count the number of packages in the registry at path, using the list of packages.

source
RegistryActivity.count_versionsFunction
count_versions(path, packages=TOML.parsefile(joinpath(path, "Registry.toml"))["packages"])

Count the number of versions in the registry at path, using the list of packages.

source
RegistryActivity.months_listMethod
months_list(path, start_month, end_month)

Get the range of months when there have been commit to the Git repository at path, between start_month and end_month.

source
RegistryActivity.registry_activityFunction
registry_activity(path=clone_registry();
                  branch="master",
                  start_month=Date(2018, 2),
                  end_month=Date(year(now(UTC)), month(now(UTC))),
                  filter=p->!(occursin(r"_jll$", last(p)["name"]) || last(p)["name"]=="julia"),
                  )

Get the 3-tuple months, packages, versions of vector of months, number of packages, number of versions for the registry at path (by default a Git clone of the General registry with clone_registry()), checking out the Git branch. The search is restricted between start_month and end_month. You can filter the packages matching the filter condition, which is a function taking as argument an item in the dictionary of a parsed Registry.toml, that is a pair whose key is the UUID of the package and the value is a dictionary with information about the package, usually including the name and the path to the directory where the package is recorded.

source