Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb project. Step 2 is to remove all content from the project repos, replacing it with a README notification where to find ongoing work, and how to recover the repo if needed at some future point (as in https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project). Change-Id: I14b8a0efe2dc6e013a72480e416461a197441e03
This commit is contained in:
parent
bbd8464ef0
commit
bbda19fc7c
|
@ -1,9 +0,0 @@
|
|||
*.pyc
|
||||
*.sw?
|
||||
*.sqlite3
|
||||
.DS_STORE
|
||||
*.egg-info
|
||||
.venv
|
||||
.tox
|
||||
build
|
||||
dist
|
|
@ -1,4 +0,0 @@
|
|||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/xstatic-objectpath
|
22
LICENSE
22
LICENSE
|
@ -1,22 +0,0 @@
|
|||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2014 Google, Inc. http://angularjs.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
include README.txt
|
||||
recursive-include xstatic/pkg/objectpath *
|
||||
|
||||
global-exclude *.pyc
|
||||
global-exclude *.pyo
|
||||
global-exclude *.orig
|
||||
global-exclude *.rej
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
This project is no longer maintained.
|
||||
|
||||
The contents of this repository are still available in the Git
|
||||
source code management system. To see the contents of this
|
||||
repository before it reached its end of life, please check out the
|
||||
previous commit with "git checkout HEAD^1".
|
||||
|
||||
For ongoing work on maintaining OpenStack packages in the Debian
|
||||
distribution, please see the Debian OpenStack packaging team at
|
||||
https://wiki.debian.org/OpenStack/.
|
||||
|
||||
For any further questions, please email
|
||||
openstack-dev@lists.openstack.org or join #openstack-dev on
|
||||
Freenode.
|
13
README.txt
13
README.txt
|
@ -1,13 +0,0 @@
|
|||
XStatic-Angular
|
||||
---------------
|
||||
|
||||
Angular JavaScript library packaged for setuptools (easy_install) / pip.
|
||||
|
||||
This package is intended to be used by **any** project that needs these files.
|
||||
|
||||
It intentionally does **not** provide any extra code except some metadata
|
||||
**nor** has any extra requirements. You MAY use some minimal support code from
|
||||
the XStatic base package, if you like.
|
||||
|
||||
You can find more info about the xstatic packaging way in the package `XStatic`.
|
||||
|
27
setup.py
27
setup.py
|
@ -1,27 +0,0 @@
|
|||
from xstatic.pkg import objectpath as xs
|
||||
|
||||
# The README.txt file should be written in reST so that PyPI can use
|
||||
# it to generate your project's PyPI page.
|
||||
long_description = open('README.txt').read()
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name=xs.PACKAGE_NAME,
|
||||
version=xs.PACKAGE_VERSION,
|
||||
description=xs.DESCRIPTION,
|
||||
long_description=long_description,
|
||||
classifiers=xs.CLASSIFIERS,
|
||||
keywords=xs.KEYWORDS,
|
||||
maintainer=xs.MAINTAINER,
|
||||
maintainer_email=xs.MAINTAINER_EMAIL,
|
||||
license=xs.LICENSE,
|
||||
url=xs.HOMEPAGE,
|
||||
platforms=xs.PLATFORMS,
|
||||
packages=find_packages(),
|
||||
namespace_packages=['xstatic', 'xstatic.pkg', ],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
install_requires=[], # nothing! :)
|
||||
# if you like, you MAY use the 'XStatic' package.
|
||||
)
|
8
tox.ini
8
tox.ini
|
@ -1,8 +0,0 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = py27,py33,py34
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
|
@ -1 +0,0 @@
|
|||
__import__('pkg_resources').declare_namespace(__name__)
|
|
@ -1 +0,0 @@
|
|||
__import__('pkg_resources').declare_namespace(__name__)
|
|
@ -1,49 +0,0 @@
|
|||
"""
|
||||
XStatic resource package
|
||||
|
||||
See package 'XStatic' for documentation and basic tools.
|
||||
"""
|
||||
|
||||
DISPLAY_NAME = 'objectpath' # official name, upper/lowercase allowed, no spaces
|
||||
PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME # name used for PyPi
|
||||
|
||||
NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
|
||||
# please use a all-lowercase valid python
|
||||
# package name
|
||||
|
||||
VERSION = '1.2.1' # version of the packaged files, please use the upstream
|
||||
# version number
|
||||
BUILD = '0' # our package build number, so we can release new builds
|
||||
# with fixes for xstatic stuff.
|
||||
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
|
||||
|
||||
DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
|
||||
|
||||
PLATFORMS = 'any'
|
||||
CLASSIFIERS = []
|
||||
KEYWORDS = '%s xstatic' % NAME
|
||||
|
||||
# XStatic-* package maintainer:
|
||||
MAINTAINER = 'Rob Cresswell'
|
||||
MAINTAINER_EMAIL = 'robert.cresswell@outlook.com'
|
||||
|
||||
# this refers to the project homepage of the stuff we packaged:
|
||||
HOMEPAGE = 'https://github.com/mike-marcacci/objectpath'
|
||||
|
||||
# this refers to all files:
|
||||
LICENSE = 'MIT'
|
||||
|
||||
from os.path import join, dirname
|
||||
BASE_DIR = join(dirname(__file__), 'data')
|
||||
# linux package maintainers just can point to their file locations like this:
|
||||
#BASE_DIR = '/usr/share/javascript/angular-schema-form'
|
||||
|
||||
LOCATIONS = {
|
||||
# CDN locations (if no public CDN exists, use an empty dict)
|
||||
# if value is a string, it is a base location, just append relative
|
||||
# path/filename. if value is a dict, do another lookup using the
|
||||
# relative path/filename you want.
|
||||
# your relative path/filenames should usually be without version
|
||||
# information, because either the base dir/url is exactly for this
|
||||
# version or the mapping will care for accessing this version.
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
;!function(undefined) {
|
||||
|
||||
var ObjectPath = {
|
||||
parse: function(str){
|
||||
if(typeof str !== 'string'){
|
||||
throw new TypeError('ObjectPath.parse must be passed a string');
|
||||
}
|
||||
|
||||
var i = 0;
|
||||
var parts = [];
|
||||
var d, b, q, c;
|
||||
while (i < str.length){
|
||||
d = str.indexOf('.', i);
|
||||
b = str.indexOf('[', i);
|
||||
|
||||
// we've reached the end
|
||||
if (d === -1 && b === -1){
|
||||
parts.push(str.slice(i, str.length));
|
||||
i = str.length;
|
||||
}
|
||||
|
||||
// dots
|
||||
else if (b === -1 || (d !== -1 && d < b)) {
|
||||
parts.push(str.slice(i, d));
|
||||
i = d + 1;
|
||||
}
|
||||
|
||||
// brackets
|
||||
else {
|
||||
if (b > i){
|
||||
parts.push(str.slice(i, b));
|
||||
i = b;
|
||||
}
|
||||
q = str.slice(b+1, b+2);
|
||||
if (q !== '"' && q !=='\'') {
|
||||
c = str.indexOf(']', b);
|
||||
if (c === -1) c = str.length;
|
||||
parts.push(str.slice(i + 1, c));
|
||||
i = (str.slice(c + 1, c + 2) === '.') ? c + 2 : c + 1;
|
||||
} else {
|
||||
c = str.indexOf(q+']', b);
|
||||
if (c === -1) c = str.length;
|
||||
while (str.slice(c - 1, c) === '\\' && b < str.length){
|
||||
b++;
|
||||
c = str.indexOf(q+']', b);
|
||||
}
|
||||
parts.push(str.slice(i + 2, c).replace(new RegExp('\\'+q,'g'), q));
|
||||
i = (str.slice(c + 2, c + 3) === '.') ? c + 3 : c + 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
return parts;
|
||||
},
|
||||
|
||||
// root === true : auto calculate root; must be dot-notation friendly
|
||||
// root String : the string to use as root
|
||||
stringify: function(arr, quote){
|
||||
|
||||
if(!Array.isArray(arr))
|
||||
arr = [arr.toString()];
|
||||
|
||||
quote = quote === '"' ? '"' : '\'';
|
||||
|
||||
return arr.map(function(n){ return '[' + quote + (n.toString()).replace(new RegExp(quote, 'g'), '\\' + quote) + quote + ']'; }).join('');
|
||||
},
|
||||
|
||||
normalize: function(data, quote){
|
||||
return ObjectPath.stringify(Array.isArray(data) ? data : ObjectPath.parse(data), quote);
|
||||
},
|
||||
|
||||
// Angular
|
||||
registerModule: function(angular) {
|
||||
angular.module('ObjectPath', []).provider('ObjectPath', function(){
|
||||
this.parse = ObjectPath.parse;
|
||||
this.stringify = ObjectPath.stringify;
|
||||
this.normalize = ObjectPath.normalize;
|
||||
this.$get = function(){
|
||||
return ObjectPath;
|
||||
};
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// AMD
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(function() {
|
||||
return {ObjectPath: ObjectPath};
|
||||
});
|
||||
}
|
||||
|
||||
// CommonJS
|
||||
else if (typeof exports === 'object') {
|
||||
exports.ObjectPath = ObjectPath;
|
||||
}
|
||||
|
||||
// Browser global
|
||||
else {
|
||||
window.ObjectPath = ObjectPath;
|
||||
}
|
||||
|
||||
}();
|
Loading…
Reference in New Issue