Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18afdb0

Browse files
committed
Merge pull request #1 from adamralph/0.13-release
added 2015-02-02-version-0.13.md
2 parents 2d73cc6 + 92485ef commit 18afdb0

File tree

12 files changed

+186
-5
lines changed

12 files changed

+186
-5
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages'

Gemfile.lock

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
RedCloth (4.2.9)
5+
activesupport (4.2.0)
6+
i18n (~> 0.7)
7+
json (~> 1.7, >= 1.7.7)
8+
minitest (~> 5.1)
9+
thread_safe (~> 0.3, >= 0.3.4)
10+
tzinfo (~> 1.1)
11+
blankslate (2.1.2.4)
12+
celluloid (0.16.0)
13+
timers (~> 4.0.0)
14+
classifier-reborn (2.0.3)
15+
fast-stemmer (~> 1.0)
16+
coffee-script (2.3.0)
17+
coffee-script-source
18+
execjs
19+
coffee-script-source (1.8.0)
20+
colorator (0.1)
21+
execjs (2.2.2)
22+
fast-stemmer (1.0.2)
23+
ffi (1.9.6-x64-mingw32)
24+
gemoji (2.1.0)
25+
github-pages (32)
26+
RedCloth (= 4.2.9)
27+
github-pages-health-check (~> 0.2)
28+
jekyll (= 2.4.0)
29+
jekyll-coffeescript (= 1.0.1)
30+
jekyll-mentions (= 0.2.1)
31+
jekyll-redirect-from (= 0.6.2)
32+
jekyll-sass-converter (= 1.2.0)
33+
jekyll-sitemap (= 0.6.3)
34+
jemoji (= 0.4.0)
35+
kramdown (= 1.5.0)
36+
liquid (= 2.6.1)
37+
maruku (= 0.7.0)
38+
mercenary (~> 0.3)
39+
pygments.rb (= 0.6.0)
40+
rdiscount (= 2.1.7)
41+
redcarpet (= 3.1.2)
42+
terminal-table (~> 1.4)
43+
github-pages-health-check (0.2.1)
44+
net-dns (~> 0.6)
45+
public_suffix (~> 1.4)
46+
hitimes (1.2.2)
47+
html-pipeline (1.9.0)
48+
activesupport (>= 2)
49+
nokogiri (~> 1.4)
50+
i18n (0.7.0)
51+
jekyll (2.4.0)
52+
classifier-reborn (~> 2.0)
53+
colorator (~> 0.1)
54+
jekyll-coffeescript (~> 1.0)
55+
jekyll-gist (~> 1.0)
56+
jekyll-paginate (~> 1.0)
57+
jekyll-sass-converter (~> 1.0)
58+
jekyll-watch (~> 1.1)
59+
kramdown (~> 1.3)
60+
liquid (~> 2.6.1)
61+
mercenary (~> 0.3.3)
62+
pygments.rb (~> 0.6.0)
63+
redcarpet (~> 3.1)
64+
safe_yaml (~> 1.0)
65+
toml (~> 0.1.0)
66+
jekyll-coffeescript (1.0.1)
67+
coffee-script (~> 2.2)
68+
jekyll-gist (1.1.0)
69+
jekyll-mentions (0.2.1)
70+
html-pipeline (~> 1.9.0)
71+
jekyll (~> 2.0)
72+
jekyll-paginate (1.1.0)
73+
jekyll-redirect-from (0.6.2)
74+
jekyll (~> 2.0)
75+
jekyll-sass-converter (1.2.0)
76+
sass (~> 3.2)
77+
jekyll-sitemap (0.6.3)
78+
jekyll-watch (1.2.1)
79+
listen (~> 2.7)
80+
jemoji (0.4.0)
81+
gemoji (~> 2.0)
82+
html-pipeline (~> 1.9)
83+
jekyll (~> 2.0)
84+
json (1.8.2)
85+
kramdown (1.5.0)
86+
liquid (2.6.1)
87+
listen (2.8.5)
88+
celluloid (>= 0.15.2)
89+
rb-fsevent (>= 0.9.3)
90+
rb-inotify (>= 0.9)
91+
maruku (0.7.0)
92+
mercenary (0.3.5)
93+
mini_portile (0.6.2)
94+
minitest (5.5.1)
95+
net-dns (0.8.0)
96+
nokogiri (1.6.6.2-x64-mingw32)
97+
mini_portile (~> 0.6.0)
98+
parslet (1.5.0)
99+
blankslate (~> 2.0)
100+
posix-spawn (0.3.9)
101+
public_suffix (1.4.6)
102+
pygments.rb (0.6.0)
103+
posix-spawn (~> 0.3.6)
104+
yajl-ruby (~> 1.1.0)
105+
rb-fsevent (0.9.4)
106+
rb-inotify (0.9.5)
107+
ffi (>= 0.5.0)
108+
rdiscount (2.1.7)
109+
redcarpet (3.1.2)
110+
safe_yaml (1.0.4)
111+
sass (3.4.10)
112+
terminal-table (1.4.5)
113+
thread_safe (0.3.4)
114+
timers (4.0.1)
115+
hitimes
116+
toml (0.1.2)
117+
parslet (~> 1.5.0)
118+
tzinfo (1.2.2)
119+
thread_safe (~> 0.1)
120+
yajl-ruby (1.1.0)
121+
122+
PLATFORMS
123+
x64-mingw32
124+
125+
DEPENDENCIES
126+
github-pages

_config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
permalink: /:year/:month/:day/:title
44

55
exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
6-
auto: true
7-
pygments: true
6+
highlighter: pygments
87

98
# Themes are encouraged to use these universal variables
109
# so be sure to set them if your theme uses them.

_includes/themes/twitter/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="page-header">
2-
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
2+
<h1><img src="/images/logo_230.png" alt="{{ page.title }}" /> {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
33
</div>
44

55
<div class="row-fluid">

_posts/2015-02-02-version-0.13.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
layout: post
3+
title: "A new file system"
4+
tagline: "Playing better with .NET solutions."
5+
category: Releases
6+
tags: [changes]
7+
---
8+
{% include JB/setup %}
9+
10+
With scriptcs version 0.13 we decided to make some changes to help scriptcs run more smoothly together with existing .NET solutions. A problem which existed until now was the occasional inability to run scriptcs from within the folder of a regular .NET solution due to problematic assemblies in `packages` or `bin` folders. These would be assemblies which were not installed in order to be used from scriptcs, but rather from the .NET solution, and cause errors or warnings when running scriptcs. In particular, developers and users of build systems based on scriptcs, e.g. [PVC](http://pvcbuild.com/) and [Bau](https://github.com/bau-build/bau), were often tripped up by this.
11+
12+
The problem occured because, until now, the file system conventions used by regular .NET and scriptcs overlapped. They both used `packages.config`, `packages/` and `nuget.config` for NuGet package management and scriptcs searched `bin/` for binaries, a folder often used for other purposes in a .NET solution.
13+
14+
Starting with version 0.13, we've changed our conventions to isolate our file system artifacts from interference with a regular .NET solution.
15+
16+
<pre>
17+
.cache -> .scriptcs_cache
18+
bin/ -> scriptcs_bin/
19+
packages/ -> scriptcs_packages/
20+
nuget.config -> scriptcs_nuget.config
21+
packages.config -> scriptcs_packages.config
22+
</pre>
23+
24+
### Automatic migration
25+
26+
When you run scriptcs 0.13, it will detect 'legacy' file system artifacts (those shared with regular .NET) and automatically migrate them. To ensure anything outside scriptcs keeps functioning (e.g. an existing .NET solution), the existing artifacts are left in place, and copies are made instead. The only artifact which is renamed is `.cache` (to `.scriptcs_cache`) since this was never shared with regular .NET, but has still had it's named change for consistency.
27+
28+
E.g. if your folder looked like this *before* running scriptcs 0.13 (you may not have all of these artifacts):
29+
30+
<img src="/images/2015-02-02-before.png" />
31+
32+
you will see this output when running scriptcs 0.13:
33+
34+
<img src="/images/2015-02-02-during.png" />
35+
36+
and you your folder will end up looking like this:
37+
38+
<img src="/images/2015-02-02-after.png" />
39+
40+
If you don't need the original artifacts, feel free to delete them. It would be very difficult to automatically detect, with certainty, whether or not they're required so we thought we'd leave it to you to decide.
41+
42+
### Performance
43+
44+
Another nice effect of this changed is a potential increase in performance. When scriptcs starts up, it scans `bin/` and `packages/` for modules and script packs. Previously, a large .NET solution may have many assemblies in these folders, not required for script execution, and this would result in a performance hit. With the new file system conventions, only those assemblies needed for script execution are scanned and that should speed things up in many cases.
45+
46+
### Hosting
47+
48+
If you are hosting scriptcs in your own application and you want to perform automatic migration, you will need to call `scriptServices.FileSystemMigrator.Migrate()` at an appropriate place in your application.
49+
50+
### Summary
51+
52+
Our hope is that these changes will smooth out any friction you may have running scriptcs in environments shared with regular .NET solutions and projects. In the majority of cases, the upgrade to scriptcs 0.13 should be seamless. Migration to the new conventions is automatic and the only burden left on you is to remove any unwanted 'legacy' artifacts. If you do have any problems, please don't hesitate to let us know by [raising an issue](https://github.com/scriptcs/scriptcs/issues).
53+
54+
By the way, the file system changes are not the only changes in scriptcs version 0.13. For full details of what is contained in this release, please see the [release notes](https://github.com/scriptcs/scriptcs/releases/tag/v0.13).

atom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
layout: nil
32
title : Atom Feed
43
---
54
<?xml version="1.0" encoding="utf-8"?>

images/2015-02-02-after.png

18.1 KB
Loading

images/2015-02-02-before.png

3.85 KB
Loading

images/2015-02-02-during.png

30.9 KB
Loading

images/logo_230.png

5.88 KB
Loading

0 commit comments

Comments
 (0)