twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.5k stars 78.85k forks source link

Deploy an official NuGet package #16692

Closed supergibbs closed 9 years ago

supergibbs commented 9 years ago

I know this has been brought up many times but Bootstrap can currently be installed via a GitHub download/clone, CDN, Bower, npm, Composer and Meteor. Adding NuGet would be a helpful addition.

The best NuGet Bootstrap Package is managed by Outercurve Foundation. Unfortunately their package has had issues in the past and is often out of date (still on v3.3.4 currently).

@mdo suggested I open an issue to see how much interest there is. If this is something the core team would consider, I believe it could be fully automated with the addition of a couple files. I'd be happy to take on setting it up.

mdo commented 9 years ago

Yeah, if there's enough support out there, we can consider adding it to our release process—if it's not too much of a nuisance that is. Having someone own it is helpful, but a streamlined process that keeps things up to date for folks is always advantageous.

sandeepmovva commented 9 years ago

+1

aaronhudon commented 9 years ago

1++

berwyn commented 9 years ago

+1

ghost commented 9 years ago

+1 (I would also add a similar request for the sass port)

jsheely commented 9 years ago

+1 Surprised this is not already a thing.

mdo commented 9 years ago

None of us on the core team are really on Windows machines, so it hasn't come up for us. Previously someone else was managing it. If we add this, we'll likely want to snag that package name from those folks. Anyone want to try to spearhead this for us?

supergibbs commented 9 years ago

No prob, I'll shoot them a message. I was looking into https://www.myget.org/ too. Seems like an easy way to publish not only NuGet but npm and bower too. @mdo made it sound like a pretty manual process.

ghost commented 9 years ago

VS 2015 is using bower, so it should be already ready for that. But not all professional developers are going to jump to VS 2015 immediately. So, NuGet will be really helpful. And ideally, the process should not be complex or manual!

vtforester commented 9 years ago

+1

How would you set up the folder structure for the package? Or would you keep the same structure that Outercurve uses?

ahsteele commented 9 years ago

+1 Having an official NuGet package would be a big win.

jraq commented 9 years ago

+1

Nuget would be awesome. @chakrabar the VS 2015 vnext web application project will be using bower, but every other web application project will still use nuget in VS 2015. I agree that not everyone will be jumping to upgrade their projects or visual studio immediately.

gichamba commented 9 years ago

+10 here

ericberens commented 9 years ago

+1

dnlruzzo commented 9 years ago

+1

devdelimited commented 9 years ago

+less #pleasepleasepleasepleasepleaseplease

ghost commented 9 years ago

@jraq agreed. An official NuGet will still be awesome for non-vNext web projects on VS 2015. I wonder what would be the percentage of developers using vNext projects in next 6 months, more than 20% ?

BramVercaigne commented 9 years ago

+1

jraq commented 9 years ago

@chakrabar I don't know what the percentage would be, but I believe since VS 2015 is already in release candidate it will be released before vnext. I follow the community standups that @shanselman does for vnext and it sounds like they are planning to release vs 2015 before vnext, but I'm not 100% sure. I know this is probably a stretch and I'm not sure if they will see these github comments, but it would be cool if @shanselman or @DamianEdwards could comment. I see them the most in the standups

jerone commented 9 years ago

:+1:

turchenkoalex commented 9 years ago

+1

jenscski commented 9 years ago

+1

stigur commented 9 years ago

Offical - would be much better :)

cubitouch commented 9 years ago

+1 :)

MichaelPetrinolis commented 9 years ago

+1

Sycro commented 9 years ago

+1

fauxcoding commented 9 years ago

+1

akrohn commented 9 years ago

+1

Cassie-von-Clausewitz commented 9 years ago

+1

scottaddie commented 9 years ago

This would seem to go against Microsoft's recommendation when VS 2015 is released. Bower receives 1st class support in the IDE at that point, and Microsoft's own client-side assets will be delivered from Bower. We're seeing that already in VS 2015 RC with MVC and SignalR. Wouldn't it then make sense to keep consistent with this theme and use Bower for installing Bootstrap? I have yet to confirm it myself, but I'd also guess that the Bootstrap which is bundled in Microsoft's ASP.NET templates will also come from Bower.

Here's some reading related to what I've stated above: http://blogs.msdn.com/b/cdndevs/archive/2015/02/17/using-bower-with-visual-studio-2013.aspx.

wags1999 commented 9 years ago

+1 Yes, eventually we should use Bower to get client-side assets... but in an enterprise environment like where I'm at, it takes a long time to change how people work. We just got people using NuGet last year! So I'd love to see the NuGet package be more up-to-date.

scottaddie commented 9 years ago

@wags1999 Good point. I can definitely relate to that.

rheone commented 9 years ago

+1 My team uses bootstrap within visual studio, being able to depend on a reliable NuGet package for it would be tremendously helpful.

KimTranjan commented 9 years ago

Yes, please. :)

wags commented 9 years ago

+1 I would definitely use this. There's something comforting about getting code right from an official source.

mdo commented 9 years ago

Right on.

I've sent them a message on the NuGet package site and also a quick note on Twitter. Let's see what happens over the next few days.

supergibbs commented 9 years ago

@scottaddie I love that Microsoft is embracing the open source community and trying to work with it instead of rolling their own and forcing people to use it. They started open sourcing on github instead of codeplex, better support for git instead of just TFS (or VSS, yuck) and now bower support so developers can take advantage of all that is out there already. That being said, there are lots of users of NuGet still and it's not going away. Some people might even prefer it. There almost 200K downloads of the latest (out of date) version via NuGet. Adding NuGet support only helps even if it's not the primary packaging system in the future.

PS- @mdo, I messaged OuterCurve too :)

supergibbs commented 9 years ago

@vtforester: Assuming OuterCurve is willing to transfer the package, it would make sense to keep the structure the same. Is there something you would change?

vtforester commented 9 years ago

@supergibbs No, I was just curious but keeping it the same makes sense.

grprakash commented 9 years ago

VS 2015 supports bower, it will take years for all the customers to upgrade to it. (One of my clients are still in 2010). It would be great to have a official nuget package

Alex-Sokolov commented 9 years ago

+1

itomek commented 9 years ago

+1

NelsonReis commented 9 years ago

+1

gsferreira commented 9 years ago

+1

rmarinho commented 9 years ago

+1

shanselman commented 9 years ago

Sorry, better to use Bower or npm, that's what they are for. NuGet is for compiled .NET binaries.

On Wed, Jul 1, 2015 at 8:14 AM, Rui Marinho notifications@github.com wrote:

+1

— Reply to this email directly or view it on GitHub https://github.com/twbs/bootstrap/issues/16692#issuecomment-117711591.

Scott Hanselman Donate to fight diabetes: http://hnsl.mn/fightdiabetes

jraq commented 9 years ago

@shanselman I built an asp.net 4.6 mvc project in vs 2015 rc and it uses nuget to pull down bootstrap 3.0 in the packages.config. In the last standup, I believe @DamianEdwards said vnext won't be in rc until November. If I'm wrong let me know. My company use nuget for bootstrap right now. When we update our projects to vnext this winter and start using bower it would be less stressful for me (and QA) that we are using the latest version of bootstrap.

p.s. I love this developers life

grprakash commented 9 years ago

@shanselman I second @jraq. I still have clients using VS 2010 and don't see them upgrading to VS 2015 anytime soon. Till most of the people upgrade, having a official nuget package would be great

moyuling commented 9 years ago

+1

drmcclelland commented 9 years ago

+1 - yes please!