Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

Handle renamed libraries via redirection. #179

Open
PeterDaveHello opened this issue May 14, 2017 · 4 comments
Open

Handle renamed libraries via redirection. #179

PeterDaveHello opened this issue May 14, 2017 · 4 comments

Comments

@PeterDaveHello
Copy link
Contributor

Currently we use symbolic links to make sure both new/old names work on CDN, but it'll not work on the website as there is no record in public/packages.min.json.

To implement this feature, we need to add a function in cdnjs/cdnjs's build/packages.json.js to add record of libraries with symbolic links, and implement 302/301 redirect route in webServer.js app

cc cdnjs/cdnjs#4627

@PeterDaveHello
Copy link
Contributor Author

Libraries with symbolic links currently:

angular-morris-chart -> angular-morris
bower-angular-translate -> angular-translate
bower-angular-translate-loader-partial -> angular-translate-loader-partial
bower-angular-translate-loader-static-files -> angular-translate-loader-static-files
bower-angular-translate-loader-url -> angular-translate-loader-url
nicescroll -> jquery.nicescroll
pie -> css3pie
zocial -> css-social-buttons

@MattIPv4
Copy link
Member

Going to keep this open as this is something we should still consider down the road once we've rewritten the auto-update system.

@MattIPv4 MattIPv4 reopened this Feb 23, 2020
@PeterDaveHello
Copy link
Contributor Author

Feel free to open a new issue for it, as I was removed from the organization without any discussion and respect, just like some other members(I know it's not by you and you're not the one who's in charge for that), I'm now closing ancient issues I'm not working on so that I don't need to receive unnecessary notifications, thanks.

@MattIPv4
Copy link
Member

As mentioned here and here, please use the unsubscribe button in this issue if you no longer wish to receive notifications for it. However, please leave this issue open as it is still needed.

@MattIPv4 MattIPv4 reopened this Feb 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants