Giter VIP home page Giter VIP logo

django-compress's Introduction

django-compress is no longer maintained

This project has not seen any updates in a long time. I have simply not had the time to keep it up to date.

When django-compress started, there were no other asset managers for Django. Today, it looks quite different, with a wide variety of high quality packages. I am glad to see that some of the code and ideas has been the foundation for other asset managers.

Since there are so many other awesome alternatives today, and I am not going to maintain django-compress anymore.

Are you looking for an asset manager for your project?

See http://djangopackages.com/grids/g/asset-managers/ for a fairly complete list of available asset managers for Django.

Are you already using django-compress?

If you already are already using django-compress, you are strongly encouraged to switch to django-pipeline[1], which is a well maintained fork, with a lot of new features.

See django-pipelines documentation [2] for more information on the changes and features.

[1] https://github.com/cyberdelia/django-pipeline

[2] http://django-pipeline.readthedocs.org/

django-compress's People

Contributors

pelme avatar svetlyak40wt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-compress's Issues

django-compress contains GPL'd code.

The csstidy_python bits included with django-compress are GPL.
It's not obvious at all that GPL code is included. This puts anyone who uses django-compress in danger of violating the GPL without realizing it. Kinda freaked me out when I saw it.

This also puts django-compress itself in danger of violating the GPL since it is not licensed under GPL.

The easiest way to deal with this is to remove the csstidy_python filter from the project and put it in it's own GPL'd repo. so people can use it alongside django-compress if they want. But they'll know they are entering GPL land explicitly.

http://github.com/pelme/django-compress/blob/6f400b9f26fde8308345099287f213826805d1e7/compress/filters/csstidy_python/csstidy.py

django-compress code all over the place

The source code and wiki pages needs to be cleaned up for django-compress. For the newcomer, it's impossible to tell what's going on. I propose:

  1. Ask each of the fork maintainers to either make their fork ready for pulling back into the repository (Whichever that one is) or delete their fork or just let people know that their fork is just for experimentation and not for public use. http://github.com/Amli/django-compress/network
  2. Move all the documentation from Google code to here.
  3. Put a link on Google code directing users to the correct Github repository.
  4. Straighten out the multiple django-compress projects on PyPI and put the best one up there.

Cheers.

Deffect with comments removing

I added script containg comment such as:

/*******************************************************************************
jquery.mb.components
Copyright (c) 2001-2010. Matteo Bicocchi (Pupunzi); Open lab srl, Firenze - Italy
email: [email protected]
site: http://pupunzi.com

Licences: MIT, GPL
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html
******************************************************************************/

The output contains partial comment:

jquery.mb.components
Copyright(c)2001-2010.Matteo Bicocchi(Pupunzi);Open lab srl,Firenze-Italy
email:[email protected]
site:http:Licences:MIT,GPL
http:http:******************************************************************************/

I tested version checkouted from git

6f400b9
master HEAD as of 2009-12-14

Using OS X 10.4, python 2.6

I suppose this is a bug. Shouldn't comments be removed completely?

Running synccompress with a source that has only external URLs causes KeyError

For a source with only external urls, synccompress raises a keyerror here:
u, version = needs_update(js['output_filename'],
js['source_filenames'])

Wrapping with try/except fixes this
try:
u, version = needs_update(js['output_filename'],
js['source_filenames'])
except KeyError:
print('JavaScript Group '%s' could not be compressed (does it only have external URLs?)' % name)
continue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.