Giter Club home page Giter Club logo

bottles's Introduction

Why does git status show that all of my files are modified?

Bottles is built by Windows users, so all of the text files have CRLF line endings. These line endings are stored as-is in git (which means we all have autocrlf turned off). If you have autocrlf enabled, when you retrieve files from git, it will modify all of your files. Your best bet is to turn off autocrlf, and re-create your clone of Bottles.

  1. Delete your local clone of the Bottles repository
  2. Type: git config --global core.autocrlf false
  3. Type: git config --system core.autocrlf false
  4. Clone the Bottles repository again

More information about working with git and Bottles

Where is CommonAssemblyInfo.cs?

CommonAssemblyInfo.cs is generated by the build. The build script requires Ruby with rake installed.

  1. Run InstallGems.bat to get the ruby dependencies (only needs to be run once per computer)
  2. open a command prompt to the root folder and type rake to execute rakefile.rb

If you do not have ruby:

  1. You need to manually create a src\CommonAssemblyInfo.cs file
  • type: echo // > src\CommonAssemblyInfo.cs
  1. open src\Bottles.sln with Visual Studio and Build the solution

bottles's People

Contributors

ahjohannessen avatar alistair avatar alistairc avatar bbehrens avatar chadmyers avatar coreykaylor avatar drusellers avatar emiaj avatar hartez avatar jeremydmiller avatar jmarnold avatar joshuaflanagan avatar mkmurray avatar rauhryan avatar rexmorgan avatar ryanhauert avatar smerrell 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bottles's Issues

Merge the Bottles.Tools nuget with Bottles?

Anybody object? And while we're at it, make sure that this nuget is made with the right source of the Bottles.dll that ilmerges the Ionic.Zip.dll file? Strong name problems are still killing us with ripple local

Extensible Bottle File Structure

Currently the bottle file structure is quite rigid, and should be more dynamic. However this is going to be a larger change that I think I want to happen as a part of the Bottles 2.0 push. It will stream line the code and allow more extensibility but I want to have a clear demarcation to help support people moving from old to new.

right now the folders are hard coded into easy to access for the programmer properties. I am thinking of easy ways that can be use to assist the programmer and the people that use them. I will put thoughts here as I ponder the issue.

Command overrides don't support colon in value

Given the following command line:
``C:\hudson\workspace\StoryTeller>package\bottlerunner.exe deploy -profile assets -deployment package\deployment -override root:\blue-assets`

I want to say:
-override root:c:\blue-assets

but it fails because the code does a split on the : character.

v1.0

A place to track the things that I want to do before 1.0

Directive order is not maintained in deployments

This is ultimately caused by the fact that SettingsData uses a Cache which uses a Dictionary<string, object>
So currently, this data needs to be captured at the HostReader point of entry. I will report more as I dig deeper.

bottles link double registers FubuModules

When you bottles link a project that uses the FubuModule assembly attribute the bottle gets double register which messes things up.

The expected behavior should be that the development link should override the FubuModule

Reverse the AssemblyPackageInfo : PackageInfo inheritence

This is causing more harm than good. With the duplicate package problem we've hit with [FubuModule], the ultimate fix includes making the assembly file explosion be lazy to make the linking a [FubuModule] work.

i.e. The files cannot be exploded until the last moment

Bottles create command double-nests config folder

If you have a folder structure like so:

mybottle\
     .package-manifest
     \config\
           file1.txt
           file2.txt

And you run bottles create on that, you will end up with a mybottle.zip with the following structure:

mybottle.zip\
     .package-manifest
     \Config\
           \config\
               file1.txt
               file2.txt

(note the double "config" folder)

From what I understand, this is not desired behavior. The resulting Zip file should only have a single "Config" folder underneath it.

AssemblyPackageInfo needs test coverage

  • need tests on the integration with the embedded resource PackageManifest
  • need tests on AssemblyPackageManifestFactory
  • need tests against the integration with BottleAttribute

Collision with .version file in temporary directory

I am attempting to utilize the multiple cores on our build machines to speed up out CI build time. In this attempt I tried to bottle up multiple features at a time run spooling up a number of threads for each processor that I have on those machines. This occasionally gives me an error because the .version file in the temporary directory is in use by another process.

I am interested in working on a fix for this, but didn't want to step on your toes if there was a deeper underlying reason to the way you've implemented it. My proposed solution is to create a nested temporary directory within the user's temp directory, and perform all bottle operations for the given run within that sandbox. I don't believe this would cause any conflicts with the current implementation, I would just like a confirmation before continuing.

Thanks,
Matt Smith

DeployCommand displays wrong target directory

NOTE: This is just the display, the deployment works correctly

When running this command:
C:\hudson\workspace\StoryTeller>package\bottlerunner.exe deploy -profile assets -deployment package\deployment -override root:\blue-assets

I see the following in the output:

Deploying profile assets
  from deployment directory package\deployment
  to target directory c:\DovetailSoftware
  ...

It proceeds to install to c:\blue-assets, which is correct. It's just the logging output that is incorrect

config command report

Add a command line command that will dump the config data to the terminal for analysis

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.