Your account has been created. Your name is name?> and your password is . Store this password in a secure place. ' . $e->getMessage() . '.

'; } } if (isset($_POST['login'])) { $authors = Author::search($_pdo, ['`name` like ?'], [$_POST['login_name']]); if (count($authors) == 0) { echo '

No such user.

'; } else { $author = $authors[0]; if ($author->verifyPassword($_POST['login_pass'])) { $_SESSION['logged_in_id'] = $author->id; } else { echo '

Invalid password.

'; } } } if (isset($_SESSION['logged_in_id'])) { $_author = new Author($_pdo, $_SESSION['logged_in_id']); echo "You are logged in as {$_author->name}. Logout.
"; if (isset($_POST['create_pkg'])) { try { $pkg = Package::create($_pdo, [ $_author->id , $_POST['create_pkg_name'] , $_POST['create_pkg_url'] , $_POST['create_pkg_desc'] , $_POST['create_pkg_fetch_url'] , $_POST['create_pkg_fetch_dir'] , $_POST['create_pkg_fetch_type'] ]); echo 'Your package has been created.'; } catch (Exception $e) { echo '

' . $e->getMessage() . '.

'; } } } ?>

Packages

No packages found.

'; else : ?> "; if ($pkg->url != '') echo ""; else echo ""; echo ""; echo ""; } ?>
Name Author Description Website Versions
{$pkg->name} " . $pkg->getAuthor()->name . " {$pkg->desc}Go&endash;"; foreach ($pkg->getVersions() as $v) { $vs = $v->major . '.' . $v->minor . '.' . $v->revision; echo "$vs ({$v->time_added})"; } echo "

Your packages

getPackages(); if (count($pkgs) == 0) : echo '

No packages found.

'; else : ?>

To change details, please contact the CLPM maintainer.

"; if ($pkg->url != '') echo ""; else echo ""; echo " "; } ?>
Name URL Fetching schedule Description
{$pkg->name}{$pkg->url}&endash;{$pkg->fetch_type} from {$pkg->fetch_url} in /{$pkg->fetch_dir} {$pkg->desc}

Add new

Name Shown publicly. Should be matched by [a-zA-Z0-9_.-]+.
URL Shown publicly. For more information.
Fetch URL Your repository. It should not require authorisation.
On scheduled intervals, we will fetch your code from here and search for tags that look like a version number, e.g. v1.0.2. The exact regex is v(\d+)\.(\d+)\.(\d+).
For those versions that are not yet found in the database, we will checkout the tag and run make TARGET.tar.gz for all targets (currently linux32, linux64, mac, win32 and win64). We will then copy tose files to /repo/PACKAGE/VERSION/PLATFORM.tar.gz.
Versions that already exist in our database will not be updated when your repository changes; versions are stable.
Fetch dir Before make-ing the release as described above, we will change directory to this directory.
Fetch type How should we clone / checkout your code?
Description Describe your library. Keep it at reasonable length.

Create an account

You only need an account to add new packages.
Name Posted publicly.
Email Kept private.

Login

Name
Password

If you lost your password, please contact the CLPM maintainer.