Changes between Initial Version and Version 1 of PackageRepositoryPlugin


Ignore:
Timestamp:
Oct 21, 2018, 4:48:45 PM (6 years ago)
Author:
Peter Suter
Comment:

New hack PackageRepositoryPlugin, created by psuter

Legend:

Unmodified
Added
Removed
Modified
  • PackageRepositoryPlugin

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= Package Repository
     4
     5== Description
     6
     7This plugin turns Trac into a private package repository.
     8
     9The plugin provides:
     10* Support for multiple programming language package repositories:
     11  * [#python Python Packages]
     12  * [#javascript Javascript Packages]
     13
     14* New Trac admin panel for managing packages:
     15  * Upload package files to Trac
     16  * Delete package files
     17
     18* New permissions:
     19  * `PACKAGE_REPOSITORY_VIEW`: Required to use the package repository
     20  * `PACKAGE_REPOSITORY_ADMIN`: Required to use the admin panel
     21
     22=== Python Packages #python
     23The plugin implements the [https://www.python.org/dev/peps/pep-0503/ Simple Repository API] so Trac acts as a private package repository similar to PyPI.
     24
     25Upload wheel (`.whl`) package files created by `python setup.py bdist_wheel`.
     26Install them with: `pip install --index-url https://<tracurl>/packages/py/ <packagename>`
     27
     28=== Javascript Packages #javascript
     29The plugin implements a [http://wiki.commonjs.org/wiki/Packages/Registry  CommonJS Compliant package registry] so Trac acts as a private package repository similar to npm.
     30
     31Upload tarball (`.tgz`) package files create by `npm pack`.
     32Install them with `npm install <packagename> --registry https://<tracurl>/packages/js/`
     33
     34
     35== !Bugs/Feature Requests
     36
     37Existing bugs and feature requests for PackageRepositoryPlugin are
     38[report:9?COMPONENT=PackageRepositoryPlugin here].
     39
     40If you have any issues, create a
     41[/newticket?component=PackageRepositoryPlugin new ticket].
     42
     43[[TicketQuery(component=PackageRepositoryPlugin&group=type,format=progress)]]
     44
     45== Download
     46
     47Download the zipped source from [export:packagerepositoryplugin here].
     48
     49== Source
     50
     51You can check out PackageRepositoryPlugin from [/svn/packagerepositoryplugin here] using Subversion, or [source:packagerepositoryplugin browse the source] with Trac.
     52
     53== Installation
     54
     55General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     56
     57== Recent Changes
     58
     59[[ChangeLog(packagerepositoryplugin, 3)]]
     60
     61== !Author/Contributors
     62
     63**Author:** [wiki:psuter] [[BR]]
     64**Maintainer:** [[Maintainer]] [[BR]]
     65**Contributors:**