Future of rails-assets #291

Closed
jandudulski opened this Issue Nov 19, 2015 · 98 comments

Projects

None yet
@jandudulski
Contributor

Hi all,

as you probably know rails-assets.org is currently hosted thanks to courtesy of ShellyCloud team but unfortunately they will shut down on March 31, 2016. There are at least two topics to discuss:

  • where should we migrate?
  • what should be the future of rails-assets?

Migration

There is obvious deadline - March 31, 2016. Before that day we have to find hosting platform which would like to become a new home for rails-assets. We are going to contact with most known hosting platforms and ask for support but if you already know any which could help us - please leave a message.

Future

rails-assets was born to fulfill some needs - we didn't want to manually build and maintain gems for vendor libraries with assets. However, world moved forward and there are a lot of solid solutions which allow to get rid of rubygems environment and separate backend and fronted libraries in rails projects.

The last nail in the coffin is current state of bower and generally speaking - community movement from bower to npm based solutions. If you are not aware - rails-assets functionality base on bower packages.

Our current plan and proposal is to migrate rails-assets in its current form to the new platform and support it until end of 2016. After that we would like to migrate existing packages to kind of ftp so existing projects could still bundle but it won't work for packages which has not yet been transformed.

We are open for any comments, help offer and proposals.

@sheerun
Contributor
sheerun commented Nov 19, 2015

Bower is not dying: http://bower.io/blog/

@sheerun
Contributor
sheerun commented Nov 19, 2015

I've already proposed a solution, but we'd need a sponsor or a crowdfunding campaign for it (Monterail has no resources): Create a gem that works like rails-assets, but allows to fetch files directly from GitHub.

@teamon teamon closed this Nov 19, 2015
@teamon teamon reopened this Nov 19, 2015
@teamon
Contributor
teamon commented Nov 20, 2015

As discussed before, we don't really see a bright future for rails-assets as the perfect solution to assets management in rails apps. As @jandudulski said, there are now much better tools for that.

Monterail will continue to support the current state of rails-assets including migration to new hosting.

Having said that, despite rails-assets was started by me and others (@sheerun, @porada) who were then part of Monterail's team, neither the company nor I claim to be the ultimate decision makers here. rails-assets is still an open source project and we are open to ideas and contributions from the community.

To put things straight:

  • we (Monterail) want to support current functionality until the end of 2016
  • we want to support some kind of read-only mode since the end of 2016
  • we do not believe creating serverless rails-assets gem is the good way to go
  • instead, we want to provide as many resources as possible for everyone to migrate to other tools
@ch1c0t
ch1c0t commented Nov 20, 2015

we do not believe creating serverless rails-assets gem is the good way to go

Could you please elaborate more on that? Why is it a bad idea?

To me, it is so convenient to use only one tool(bundler) to manage all dependencies. I probably would like to have a rake task gem for converting an asset to a gem.

@teamon
Contributor
teamon commented Nov 20, 2015

If you take a look at https://github.com/rails-assets/rails-assets/tree/master/app/models/build you can see it is quite complex processing.
Then, here https://rails-assets.org/status you can see the various error that are not yet handler properly.
This is all due to fact that bower packages are extremely inconsistent.

The front-end stack has changed a lot in the last few years, we now finally have standard access to proper modules and code isolation in the browsers. In the same time, sprockets is (and probably will) be a simple tool for joining files together.

Tools like sprockets or rails-assets will always be a bit behind the JS world.

In our opinion rails-assets did it's job over the last 2,5 years, but it won't be needed soon since tools like npm/webpack are already doing a great job and there is no need for additional layers.

@teamon teamon closed this Nov 20, 2015
@teamon teamon reopened this Nov 20, 2015
@ldonnet
ldonnet commented Nov 20, 2015

Hi,

I used rails-assets solution for 1 year. I'm agree with you it's not the perfect solution. Rails assets deals with javascript library and it's not an easy task. For me it's also the best solution I have found to get :

  • packages up to date
  • one package installer bundler
  • not ask 30 owner of repositories to make an update of javascript libraries in the gem.

Perhaps the future is npm/webpack tools but they introduce also a new complexity in rails application.

@mockdeep mockdeep referenced this issue in honeybadger-io/honeybadger-js Nov 20, 2015
Closed

`require` oddities with bower and sprockets 3 #37

@drewhamlett

If you guys think the Bower landscape is somehow bad try to install modules from NPM. Most of the time the module isn't even available on NPM. Not being on NPM means it doesn't use UMD, and you have to shim your shim so you can shim while you shim. It's a terrible place out their for front end devs. I was doing it full time for a year. Half the time you just do

window.$ = require('jquery')
require('jquery-ui/wtf-am-i-even-doing')

Or just copying javascript from a repo and plopping it in your project.

Gulp/Browserify/Webpack is cool for those just getting into programming and want to do everything manual. They want to sit around and engineer solutions just to engineer them. That's cool when you're 10 but when you grow up and get a real job you may have to do things. While most people are sitting around comparing their Gulp buildscript sizes, I'm trying to build stuff.

Rails assets solved a huge problem. We had those stupid ass wrapper gems, and it replaced them. It's a shame that the over engineered world of the front end has leaked over into this project.

I don't want to roll my own asset pipeline with Gulp because I like my free time.

I do think there is room for a browserify-rails which is a decent replacement for rails assets, since you use NPM. It's slow as molasses, but hey whatever can make a front end devs life harder, they'll be up for it.

All joking aside, I think work should go into Browserify rails to make it faster and detect file changes on save instead of browser reload. I don't think the future is to replace the entire asset pipeline. That means image/font management. Just replace the javascript piece.

@drewhamlett

Just to show how over engineering has reached new heights on the front end. Take a look at this.

https://www.airbnb.com/rooms/259576

Using react for static content on that page. Provides no interaction to user. It's just static.

This brand asset page for Uber.

http://brand.uber.com/

Probably have 1000 engineers twiddling their thumbs, so they create the most over engineered brand asset page of all time.

@himdel himdel referenced this issue in ManageIQ/manageiq Nov 30, 2015
Closed

[WIP] use bower-rails instead of rails-assets #5640

@ajb
ajb commented Dec 16, 2015

I don't have much to add in terms of substantive discussion here, but I wanted to drop in on the conversation in order to give some massive gratitude and ❤️ ❤️ ❤️ to everyone who's worked on rails-assets.

I know that the world of frontend development moves fast, and some of you might feel that rails-assets has been surpassed by npm, webpack, gulp, or whatever the latest and greatest is.

However, I'll just add that our team is extremely happy with rails-assets, and assuming that it stays online (or that we can stand up our own server), we'll be planning to use it well into 2016 and beyond.

@halilim
halilim commented Dec 17, 2015

I sometimes call myself "full-stack" but I'd consider myself as a 0.75-stack (0.5 backend, 0.25 frontend). Or, the projects I'm working on are not frontend-heavy. Hence I have less time to apply every new frontend tech I've heard of to the project at hand. Instead I find peace in moderate solutions like Rails Assets which, a) doesn't have the disadvantage of wrapper gems, and b) doesn't have the complexity of full-blown solutions like Gulp, Webpack etc.

So until the time new frontend mechanisms get really widespread, Rails Assets fills an important gap for me and I'd appreciate it if it continues to do so for the foreseeable future.

@katsyoshi katsyoshi referenced this issue in settie/keihi Dec 28, 2015
Open

入力周りの改善 #20

@Gedrovits

Totally agree with @halilim . Yeah, JS world moving fast, but for simple apps, which depend on simple, non-fancy-js-includes-requires libraries, this is a better way then old 'asset gems' like 'blablabla-rails'.

Maybe it's not ideal solution, but it's definitely filled the gap for us. So it's sad it may be closed.

@colbywhite

@teamon, @sheerun, and/or @jandudulski, was there any resolution to this? Based on the lack of activity on the repo and this issue, it appears that this is on pace to fade away in March? Is that an accurate assessment?

@teamon
Contributor
teamon commented Jan 12, 2016

@colbywhite Currently we are arranging a new hosting. As previously stated we will support the current state at least until the end of this year.

@drewhamlett

I'm not sure a lot of people know it's going to shut down. Seems to be quite a few people using it. I really love this service.

@ldonnet
ldonnet commented Jan 12, 2016

As @drewhamlett said I think this news could be more spread. A ticket in github is very specific, why not communicate on the front end services to get more reactions from end user : https://rails-assets.org/.

@boone
boone commented Jan 12, 2016

It might help to post something on the home page. Someone might be able to step in and offer hosting. What are the hosting needs?

I'm also a happy user of Rails assets. I haven't found the other solutions compelling enough to want to switch.

@hayesgm
hayesgm commented Jan 16, 2016

I would say that rails-assets fills an important niche, esp. in light of react-rails deciding to stay sprockets instead of using webpack, browserifying, etc. For better or worse, so long as rails stays on sprockets as default, gem based assets are going to be a thing long into the future.

What help can the community give?

@drewhamlett

I've been giving quit a bit of thought to the front end ecosystem lately. I think people are frustrated with the NPM ecosystem leaking into the Rails. It's pretty much the anti thesis of the Rails way. A lot of the .NET guys are feeling the same too. A new Web MVC project brings in NPM for all assets.

I think NPM is the future of front end but I think we can work with it. There are a lot of good projects coming out. React, Webpack, Babel, but the Rails community has made the configuration hell easier. For example react-rails. You can get Babel and ismorphic React setup in a few lines of code.

If we could manage NPM assets with the Gemfile as you do with rails-assets(bower), we would get locked dependencies by default. Another instance is changing sprockets to support require(or import). There's a lot of fragmentation going on in the JS world because developers just start a new projects instead of fixing the older stuff. I think in the Rails community we have a decent track record on rallying behind one project.

@colbywhite

@drewhamlett, are you suggesting that the rails community should go away from bower and focus on integrating with npm? As in making an equivalent of this project, but one that focuses on npm?

@bbraga
bbraga commented Jan 17, 2016

https://rails-assets.org is down! Houston we have a problem

screenshot-rails-assets org 2016-01-17 10-11-25

PS: Due to this I believe other external mirrors for assets would be a very nice to have, in case of catastrophic failure such as today

.

@dalikim dalikim referenced this issue in parti-xyz/Deprecated-canoe-web Jan 17, 2016
Closed

rails-assets를 계속 가져 가야할지 논의해 봅시다. #18

@bsbodden

I for one hate dealing with NPM and found bower a much better route. Then finding rails assets made it seamless. Why rather than having a full-blown gem source/server we just keep a list of converted bower packages and push/publish them directly to rubygems.org?

@pauloschilling

And rails-assets.org is down again right now, same as yesterday, "504 Gateway Timeout" from Shelly Cloud.

I truly believe you need to bring the future of rails-assets.org to the table, but what about the present? In the meantime, there's nothing you can do to make the current service more stable and reliable? I know you depend(ed) on Shelly Cloud's courtesy to host everything, but even if they had no plans to shutdown the service you should be considering doing something about it.

Talking about the tool itself, we already removed rails-assets from our most critical project, and now we are going to do the same to the last one. When you have dedicated front-end developers you'll want to avoid such tools, and start using gulp, bower, npm, grunt and so on, like @jandudulski said, and you'll end up with separated frontend and backend dependencies, which is really good.

Please, I really don't want to be rude, I just want to contribute with our thoughts and the internal decisions we have made regarding this.

Oh, and have you ever considered talking to someone behind bigger rails-related projects? Maybe one of them can help you either by offering the resources you need to keep the service online, or even by adopting it to integrate with their main service.

Also, I want to thank you for all the effort you had to make and keep rails-assets running, we really appreciate that!

@bsbodden

On the meantime folks can use https://github.com/rharriso/bower-rails/, not as convenient but it'll do.

@drewhamlett

@pauloschilling Using Grunt and Bower right now would be akin to Luke Skywalker Tauntauning a dead corpse to live in. I don't really mind Bower per say, but it seems NPM has won(for better or worse). I personally don't want dedicated front end people working for me. I hire full stack developers who are very good at Javascript. This tends to keep the app balanced, without the over engineering front end parasites(hint: I was one) trying to tackle every problem ever with a gigantic helping of shitty Javascript and flavor of the month frameworks.

Anyway, what I'm getting at, is not everyone has the resources to have dedicated front end engineers. People are fine(and like) using the asset pipeline and Bundler. We just need a good solution. I don't mind using NPM to manage dependencies but I don't want to manage my own asset pipeline. Sure I'd rather use Bundler, but it seems the front end world has leaked everywhere at this point. I really like the project https://github.com/browserify-rails/browserify-rails, it's just too slow for me at this point. Maybe the solution is to iterate on that and make it better.

@colbywhite : I think that's a possibility. It depends on if there's any interest in it. It can't just integrate NPM though. It would need to be an out of the box solution for managing NPM dependencies and wrapping Webpack or Browserify.

@mattbrictson

I don't mind using NPM to manage dependencies but I don't want to manage my own asset pipeline.

@drewhamlett I agree 100%. Have you tried a little project called Torba? Its creator describes it as "Bundler for Sprockets". Uses NPM rather than Bower.

I just ported a small project from Rails Assets to Torba and it worked on the first try. Definitely promising!

@pauloschilling

@drewhamlett, I agree with you, but different projects have different needs, and different countries have different people. Here in Brazil a full stack engineer normally don't have neither the knowledge nor the passion to maintain the frontend (read CSS, HTML, part of the JS), so we have to hire people "just" to do that in order to have a good UI/UX.

This is just a parentheses on why we ended up with dedicated frontend engineers, and at least in our case it was not a question of having resources (money) for it, but the real need to do that because people have different abilities here.

Anyway, I don't want to change the main topic, sorry about that, but I think this is also good to better understand what kind of projects and teams can take fully advantage from solutions like rails-assets, and the "full stack" thing probably is the key.

The "X is better or worse than Y" will always exist, and this is good as well, the key again is what is better for you and for projects like yours.

Is pretty clear that rails-assets is most recommended for full stack teams, and I hope they can find the right path to keep it running, no matter if there's a "better" tool or not.

Best,

@ajb
ajb commented Jan 19, 2016

A couple of thoughts:

  • To the maintainers: @dobtco is willing to offer some level of financial sponsorship for hosting. Feel free to contact me via email to chat more about this. (You can find my address in my git logs or on my personal website.)
  • To everyone else: hosting another instance of rails-assets shouldn't really be that hard. Maybe someone in the community can step up to offer a Dockerized version of the service that would be easy to deploy and maintain? I recently stood up an instance on my own, and while in some ways it's just a basic Rails app, there do seem to be a few tricks to getting everything running smoothly. Docker would make this part trivial.
@sheerun
Contributor
sheerun commented Jan 19, 2016

I can setup hosted version of Rails Assets on AWS and support it, if someone is interested.

I need to see it can profitable, so please fill this form: https://docs.google.com/a/sher.pl/forms/d/16EQ1FdInLOuEZ_E9Rt0pFy54QnLzKSw7JCVbDYewCTw/edit?usp=forms_home

@hut8
Member
hut8 commented Jan 19, 2016

@sheerun Google says that form is restricted.

I spent almost an entire night during this outage looking for a better alternative, and my findings were basically that the whole ecosystem of front end assets is somewhat of a mess. I think that this project is actually a really good solution even if it's not perfect. I would be happy to host it as long as I can afford it out of pocket. Can someone familiar with the current hosting please describe the resources used in terms of disk space, bandwidth, memory, etc? I want to price it out and maybe find some areas for optimization. I'm sure I can take this on by mid 2016.

@sheerun
Contributor
sheerun commented Jan 19, 2016

Currently it's 30 GB SSD, 600 GB traffic/month, but growing. I've updated the form link:
https://docs.google.com/a/sher.pl/forms/d/16EQ1FdInLOuEZ_E9Rt0pFy54QnLzKSw7JCVbDYewCTw/edit?usp=forms_home

@rjhancock

I've sent a message off to DigitalOcean as they work with non-profits and OS projects for either discounted/free hosting. Their $40/mo server should be able to handle it (60G SSD / 3T Bandwidth). I'd offer to pay for it myself but don't have the spare $40/mo right this second.

@hut8
Member
hut8 commented Jan 19, 2016

I just sent an email to @jandudulski offering to have my consultancy host (and more importantly support) it for free. I can definitely have this set up by next week.

@sheerun
Contributor
sheerun commented Jan 19, 2016

Hosting isn't most expensive part. Support is.

@rjhancock

Support wise, not much I can do. But if the hosting is taken care of thats one less thing to worry about.

@sheerun
Contributor
sheerun commented Jan 19, 2016

@hut8 We can't pass hosting that easily, for security reasons. It would give your consultancy a power to change any package's contents. You can setup separate service though, if you want.

@joshjordan
Contributor

@sheerun I think @hut8 is offering hosting and support.

Can you explain the difference in security at the current host and the one being proposed?

@sheerun
Contributor
sheerun commented Jan 19, 2016

It's the same reason npm won't give some random agency a write access to all of their registry.

// or github to all of their public repositories

@joshjordan
Contributor

What is that reason, and how is it different for the current ownership?

@bsbodden

Has anybody approach the Rubygems team directly? I wonder what their take on hosting asset gems is? I mean, nothing prevents somebody from using the Gem generation portion of the rails-assets app and simply publish the generated gems to rubygems. It would be nice if the bower search/request process was backed into RubyGems but of course that opens the door for them to have to do bower, npm, etc.

@themgt
themgt commented Jan 19, 2016

The way Phoenix (Elixir) uses Brunch.io seems much preferable, but unless/until someone ports similar functionality into Rails, rails-assets.org is will remain hugely useful.

I'd encourage a move to rails-assets.org being community-run and using easily deployable site mirrors - we at @pogodan would be happy to run one.

@stympy
stympy commented Jan 20, 2016

We at @honeybadger-io would be happy to help with hosting as well

@yannski
yannski commented Jan 20, 2016

At Scalingo https://scalingo.com/ we can help too.

@teamon
Contributor
teamon commented Jan 20, 2016

Hi everyone and thanks for all your comments. I won't be able to answer all of them, but let me tackle at least few points here:

  1. We do realize that rails-assets is useful for quite some people (including Monterail itself). We still use it in some of our projects and we do want to support it in the current form at least until the end of this year.
  2. As already mentioned there are two topics here: the future (2017) and the present, but both are very tightly connected. Right now we are focusing on arranging new hosting. I'm extremely happy that so many of you offered their support with that - please let me get my head around it and I'll contact you each individually.
  3. In terms of ownership - currently few people have access to production machines and that includes Shelly Cloud team, Adam, Jan, me and few other Monterail developers. In theory, we could mess with the packages, but this would be a rather suicidal path for the individuals and Monterail in the ruby on rails community. And it would be the same case with any other company that supports/hosts the project.
  4. Before rails-assets was born, we wanted to automate the process of creating assets gems and push them to rubygems.org. One of the reasons we stopped that was to avoid pollution rubygems with all those gems. It could probably solve some of the performance issues, but I think we still can do better than this.
  5. We definitely should let people know about the plan, preferably by some announcement on the home page. I'll try to get this done soon. (and I'm definitely willing to accept a PR if someone does this before me :) ) #308
  6. Finally, I do understand your disappointment with the recent quality of the service and the plans for future. I hope we can sort this out together as a community and prove one of the most important foundations of open source software - one can pick up when the others have left.
@hut8
Member
hut8 commented Jan 20, 2016

I saw that the existing deployment-related stuff is (understandably) tightly coupled to ShellyCloud. I wrote Ansible and Capistrano scripts last night and have actually deployed this application on a subdomain of my own. There are a couple minor issues I haven't fixed yet (externally hosted fonts giving 403s, lack of installation in playbook for Sidekiq Upstart scripts, etc). My deployment also includes Let's Encrypt, which I found was really neat.

I'm also going to write a quick script to try to import the existing converted packages from https://rails-assets.org/components.json, mostly as a test.

@andrewsomething

Hey all! Looks like you have a lot of good options for hosting; add DigitalOcean to the list of folks willing to pitch in. Reach out to us opensource@digitalocean.com if we can help.

@nhance
nhance commented Jan 21, 2016

Hey, I may be willing to sponsor this for @railsasaservice. Can you give me a sense of the monthly costs involved?

@hut8
Member
hut8 commented Jan 22, 2016

https://rails-assets.tenex.tech is up now. I'm loading all the components present in https://rails-assets.org/components.json so expect slowness, but I'm eager to hear some feedback.

@lubekpl
lubekpl commented Jan 22, 2016

@hut8 Can you provide instructions for deployment?

@justintanner

First a huge thank you to everybody who worked on and is currently maintaining rails-assets. You have saved me precious development time.

Please consider continuing support for rails-assets beyond 2016. For rails apps that have a handful of javascript deps rails-assets is an elegant solution. The alternatives are very complex and over engineered.

Please reconsider abandoning rails-assets.

@jvanbaarsen

@jandudulski What are your main concerns at the moment? The lack of contributors? Or the costs of the hosting? For the latter I have seen a lot of suggestions in this topic already (Digitalocean wants to chip in, so is Honeybadger).

If it is about contributors, what are the current pain points that need to be addressed? I'm sure we can come up with a new fresh set of contributors. If needed, I can free some of my time to help out in the transition period.

Would you be open to work with me and others to see if we can keep rails-assets alive and going? I'm sure we can find the community support it needs, without you having to sacrifice all of your freetime.

@guizmaii

Hi @hut8,

Great initiative to host a copy but I can't proxify it in my Nexus because (I think) of your SSL configuration that is not so strong (see SslLabs results : https://www.ssllabs.com/ssltest/analyze.html?d=rails-assets.tenex.tech&hideResults=on).
Can you improve it maybe ? Mozilla gives us a tool to help us config this well : https://mozilla.github.io/server-side-tls/ssl-config-generator/

I think that just replace your DH key for a 2048 bits one will improve your grade well.

@guizmaii

@hut8 here some feedback : my build is blocked since 10 minutes to this step : Fetching version metadata from https://rails-assets.tenex.tech/

This is my use of your repo :

source 'https://rails-assets.tenex.tech' do
  gem 'rails-assets-oncapslock'
end

:'(

@richpeck

We've used rails-assets for over 1 year, it's the best solution of its kind.

What are you looking for to make it work? Money, bandwidth, server space, or all 3?

@jandudulski
Contributor

@jvanbaarsen

@jandudulski What are your main concerns at the moment?

Our main concern is that we're going to withdraw from using rails-assets and it is hard to maintain project which you're not using anymore. But we don't want to cut the project and leave developers unhappy with the situation so we're working on to find a new maintainer and I believe we would be able to announce some good news soon.

@jvanbaarsen

@jandudulski Ok great! If needed, I can step up as well. Jus let me know :-)

@hut8
Member
hut8 commented Jan 26, 2016

@guizmaii thank you so much for your feedback. I'm opening an issue on my clone of the repo and I'll have it fixed by the end of the day. I know that it's really slow at the moment; this is because I'm trying to build all the packages currently present on rails-assets.org. This is probably a bad idea, so I'm stopping it now.

@bhgames
bhgames commented Jan 31, 2016

Hey guys, I just spent about 4 hours configuring Torba to work in place of Rails Assets. It's a pain in the ass to get setup because you have to find the right js file in each pulled repo to include instead of the nicer rails assets way, but it doesn't rely on any third party hosted service.

I think it's a good "drop-in" replacement, especially in that it carries NPM support, and all you need to do to add a new NPM module is drop it in, and then inspect your ~/.torba/new-npm-module-647433/ directory for the proper JS file to include. Normally this is in the dist folder but not all npm modules have them. It's kind of a mess over there in JS land.

Edit: Link to Torba https://github.com/torba-rb/torba

It also as of now has good Heroku documentation and support, though I haven't actually tried productionizing it yet. That's coming up next. Will report back if successful.

@colbywhite

Our main concern is that we're going to withdraw from using rails-assets and it is hard to maintain project which you're not using anymore.
~ @jandudulski

If you don't mind me asking, if you're not using rails-assets, what are you using? A more direct back-end agnostic tool like gulp/browserify/etc.?

@rbrigby
rbrigby commented Feb 2, 2016

We at retail.gamegear.com use rails-assets in a new app we are building. We really do not want to migrate away from it if possible. It is by far the best solution for us.

@danhorst danhorst added a commit to ndlib/curate_nd that referenced this issue Feb 2, 2016
@danhorst danhorst Vendoring [SimpleMDE][1]
We should consider an alternate means of storing and tracking asset
packages in this project. rails-assets.org is slated to be
decommissioned on [March 31, 2016][2].

[Torba][3] looks promising.

[1]: https://github.com/NextStepWebs/simplemde-markdown-editor
[2]: tenex/rails-assets#291
[3]: https://github.com/torba-rb/torba
ec276fc
@teamon
Contributor
teamon commented Feb 5, 2016

Small update: we are setting up a mirror with @hut8, stay tuned :)

@brooks
brooks commented Feb 10, 2016

Can anyone confirm what date rails assets will be going away? The first post here says March 2016 but Im seeing end of 2016 on twitter, etc. Thanks :)

@hut8
Member
hut8 commented Feb 10, 2016

Hi @brooks ! rails-assets is not going away. I know the thread is long, so I'll give you a TL;DR version.

The company that's hosting rails-assets (shellycloud) is shutting down in March. Monterail, the company that developed rails-assets, will make sure it is up till the end of 2016.

My consultancy, Tenex uses this and has forked it to https://github.com/tenex/rails-assets . As @teamon said 6 days ago, we have set up a mirror at https://rails-assets.tenex.tech . @joshjordan and I (of Tenex) have no plans of abandoning this.

So in summary, it will not be going away 😄

@brooks
brooks commented Feb 10, 2016

Thanks @hut8 😄

@mvastola

I'm sorry to hear rails-assets is planning to close its doors. Unfortunately, I can't comment much on what is being debated about the declining need for rails-assets (ostensibly due to the existence of better alternatives) as I don't really have experience with alternatives.. I -- as did, I imagine, many current users of this service -- went straight from manual asset management to rails-assets.

As such, could anyone be so kind as to lay out some of the many alternatives to rails-assets (alluded to by @jandudulski in his OP) providing both dependency management and rails asset pipeline integration while also highlighting any notable features or differences? (Perhaps such a summary would even be worth linking to from rails-assets.org?)

@jvanbaarsen

@hut8 Will you be taking over the domain as well?

@hut8
Member
hut8 commented Feb 11, 2016

Good question @jvanbaarsen . I've discussed this with @teamon and he said that if all goes well with our hosting of it, then yes, but it would be cool if he could confirm that 😃

Also, @mvastola , I wouldn't say it's shutting down for the reasons I gave a few hours before you made your post. It's simply that a different company is maintaining it. We've already made a few minor improvements, and have deployed it on DigitalOcean, who is sponsoring it as well.

I too would be interested in hearing the alternatives. After all, I would hate to waste my time contributing to something worthless 😛 When rails-assets was down for a weekend, I did an enormous amount of research about this, and decided in the end of that rails-assets is definitely the best solution for a rails project who wants the frontend assets to "just work". I switched to bower-rails for a bit, and unfortunately still have it in one project, but it's caused me a ridiculous amount of maintenance headaches. For example, not only does it introduce more server-side dependencies during deployment, but it doesn't lock in versions, so I had deployed Angular 1.5 when angular-ui-select only works with <= 1.4.9 without a kludge (angular-ui/ui-select#1325). So I can speak about the alternatives too, but can't say much without using expletives.

Probably a better solution for projects in general would be completely de-coupling the frontend from the backend, to the point where they could easily be in different git repositories. But that's definitely overkill for most use cases I've had. The lack of good alternatives for simple use cases is why I chose to pursue hosting and maintaining this excellent tool

@shadowbq

Not worthless. Can we use this new mirror (https://rails-assets.tenex.tech) ? Can you post something about the domain itself, whether it will be temporary or a production mirror. Does bundler follow redirects if you take over the existing domain? Will you maintain this mirror on this domain for at least six months? [So in summary, it will not be going away] - The project/the domain or both? Thanks for stepping up.

@marianoviola

@hut8 thank you for your commitment. May I suggest to add a donation button somewhere in the new website? I would be very happy to contribute with some money to the project.

Edit:
Are you thinking to a monetisation strategy? I mean something to support private packages or some plans based on usage (bandwidth, number of packages and so on).

@mensfeld

@hut8 please add a donation button. Rails assets are great for prototyping and testing! I will gladly donate this!

@hut8
Member
hut8 commented Feb 12, 2016

@shadowbq Please do use the mirror! We will be supporting it for the foreseeable future. rails-assets.org does not currently point there, although at some point @teamon had mentioned to me via email that Monterail would be willing to transfer the domain if everything is stable with our mirror. It's on ShellyCloud till March, so I'm thinking that might be a good time to switch. We will continue using the https://rails-assets.tenex.tech domain indefinitely. If you find issues specific to our mirror, please file them in our fork (https://github.com/tenex/rails-assets)

@marianoviola @mensfeld Good suggestion!

Edit: @shadowbq -> https://github.com/bundler/bundler/blob/master/lib/bundler/fetcher/downloader.rb#L22 yes, redirects are followed 👍

@floriandejonckheere floriandejonckheere referenced this issue in floriandejonckheere/thalariond Feb 14, 2016
Closed

Move away from Rails Assets #17

@hut8
Member
hut8 commented Feb 17, 2016

@marianoviola @mensfeld Last night we added a donation button. See the top bar of https://rails-assets.tenex.tech

Again, thanks for the suggestion 👍

@mensfeld

@hut8 "You did not set a valid publishable key. Call Stripe.setPublishableKey() with your publishable key. For more info, see https://stripe.com/docs/stripe.js" :D

@marianoviola

@hut8 great! You need to set a publishable key as suggested by @mensfeld 😄

@hut8
Member
hut8 commented Feb 17, 2016

Hey! This was actually a test for our MVP of the donation system. Now that we know that people actually will click on the button, we have implemented it 😉 It should be launched now. 🚀

@mensfeld

@hut8 works - you can check if the payment has been processed frm me ;)

@lxsameer

rails-assets is one of my most important tools, I surely will miss it. Personally i don't like get my hands dirty with tools like bower or npm ( which is the worst piece of software i ever seen ). Managing front end dependencies using bundler is a brilliant idea. I think rails-assets can continue its work and I love to see this happen.

@hut8
Member
hut8 commented Feb 27, 2016

Hey there @lxsameer . You don't need to miss it! I'm not sure if you read the entire thread since it's so long but rails-assets is definitely not going anywhere. It's sponsored by DigitalOcean, and myself and @joshjordan plan on supporting it indefinitely, certainly past the end of 2016. Feedback for our mirror at https://rails-assets.tenex.tech would be greatly appreciated.

@lxsameer

@hut8 awesome. I'm very happy right now, Kudos to you guys.

@colbywhite

Should this issue be closed with a recap comment? It appears that the new mirror will be the answer.

@mensfeld

@colbywhite I believe this should be closed with a proper annotation about support option.

@hut8
Member
hut8 commented Feb 29, 2016

@teamon Can you comment about the domain? Are you satisfied with Tenex taking things from here?

@teamon teamon referenced this issue Feb 29, 2016
Closed

Hosting migration #312

3 of 3 tasks complete
@teamon
Contributor
teamon commented Feb 29, 2016

Sorry for the radio silence!

About the domain - yes, definitely. Plus I think we can close this thread now.

I've created another issue #312 to track what's left to be done before March 31.

@teamon teamon closed this Feb 29, 2016
@assembler

You should probably add message on rails-assets.org that people should use rails-assets.tenex.tech instead and not having to read this huge thread :)

@shadowbq

Please edit the issue to include updated information on the top of the big thread

@MtnBiker

Another shout out for rails-assets. This worked today for this newbie. I hadn't been able to push to Heroku for a few weeks and decided I had to get it done. Read discussions about asset managers. Tried some things and decided to give rails-assets a go even though I may to make adjustments soon. It worked for me. Thanks and keep up the good work.

@dt1973
dt1973 commented Mar 15, 2016

Used to have high hopes for https://github.com/half-pipe/half-pipe but I don't know what happened.

cc: @joefiorini

@joefiorini

@dt1973 Thanks for the mention. I started the project but left the company where we were using it and went to a Python shop that obviously didn't have much need for it. I've also stopped using Grunt in favor of Webpack and other tools made for being a build solution. I'm happy to hand it off to someone if anyone wants to dust off the cobwebs and bring it into the modern age.

@klippx
klippx commented Mar 15, 2016

Webpack is the future boys

@mockdeep

You know the future?!

@halilim
halilim commented Mar 15, 2016

The problem is, we haven't reached that future yet and we need a hassle-free asset management solution right now which doesn't change every six months :)

@tibastral

And when you are back from the future you enjoy using rails-assets which is awesome :)

@hakkiplaten hakkiplaten referenced this issue in nfl/jquery-oembed-all Apr 8, 2016
Merged

Create bower.json #39

@richpeck

Down for me too

Webpack looks good, similar to a lot of others like babel etc. Will be
interesting to see if a single package manager is adopted

On Tue, May 10, 2016 at 9:47 AM, Roma Milushov notifications@github.com
wrote:

https://rails-assets.org/ is down? :(
http://www.downforeveryoneorjustme.com/rails-assets.org


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#291 (comment)

@kofronpi

https://rails-assets.tenex.tech/ is down as well. Maybe they're doing the transfer they talked about ?

@ssaunier

Or Maybe rails-assets.tenex.tech is suddenly being hit with a lots of requests!

If you have urgent deployments to do, you can vendor the gems:

bundle package

That way you'll have a vendor/cache folder created with every gem. You can commit / push that. Later on think of removing this commit (not just revert) as it grows your git repository a lot.

@kofronpi

@ssaunier both URI point to the same server, see #329 (comment)

@sjauld
sjauld commented May 10, 2016

rails-assets.org is BACK!

@joshjordan
Contributor

@milushov @richpeck @kofronpi @ssaunier @sjauld thanks for the heads up. No transfer in progress - rails-assets.org is here to stay and shouldn't require any extra effort on your part. We weren't taking any more traffic than usual last night, and syslog isn't showing anything useful. Looks like we went hard down at 3:41AM. I'm following up with our hosting provider to get more info. Right now, we appear to be up and stable.

@hut8 hut8 locked and limited conversation to collaborators May 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.