Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/make-all/libphalias
A Phabricator extension to read svn aliases to better identify commit authors
https://github.com/make-all/libphalias
phabricator phorge svn-aliases users
Last synced: 10 days ago
JSON representation
A Phabricator extension to read svn aliases to better identify commit authors
- Host: GitHub
- URL: https://github.com/make-all/libphalias
- Owner: make-all
- License: apache-2.0
- Created: 2014-11-12T14:56:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T23:32:03.000Z (over 5 years ago)
- Last Synced: 2024-10-25T16:15:25.080Z (about 2 months ago)
- Topics: phabricator, phorge, svn-aliases, users
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
libphalias
==========This extension to [Phabricator](http://phabricator.org/) looks up user names
in the svn aliases file, in order to map them to phabricator users.This can be useful if you've already moved users over to a new authentication
backend, and want to maintain links between users on both svn and phabricator.NOTE: There is currently work underway to let users specify their own aliases in
the Phabricator settings, see https://secure.phabricator.com/T12164
This extension may be obsoleted by that work.Installation
------------To install this library, simply clone this repository alongside your phabricator
installation:cd /path/to/install
git clone https://github.com/make-all/libphalias.gitThen simply add the path to this library to your phabricator configuration:
cd /path/to/install/phabricator
./bin/config set load-libraries '["libphalias"]'
./bin/config set events.listeners '["DiffusionLookupUserAlias"]'This extension could also be used to read other alias files, as long as they
have a similar format to the svn aliases file, which can be parsed by PHP's
`parse_ini_file($filename)` function. It should also be quite simple to
change the parser to handle other formats.