commit
stringlengths 40
40
| old_file
stringlengths 4
184
| new_file
stringlengths 4
184
| old_contents
stringlengths 1
3.6k
| new_contents
stringlengths 5
3.38k
| subject
stringlengths 15
778
| message
stringlengths 16
6.74k
| lang
stringclasses 201
values | license
stringclasses 13
values | repos
stringlengths 6
116k
| config
stringclasses 201
values | content
stringlengths 137
7.24k
| diff
stringlengths 26
5.55k
| diff_length
int64 1
123
| relative_diff_length
float64 0.01
89
| n_lines_added
int64 0
108
| n_lines_deleted
int64 0
106
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cad19df94ce525b50e65a76a8d2a4384d3438484 | examples/tools/text-marker.md | examples/tools/text-marker.md | ---
layout: tool-simple
title: Text Marker Tool
toolName: TextMarker
---
<h2 class="title is-2">π§ Under Construction π§</h2>
This example needs additional work
| ---
layout: needs-example
title: Text Marker Tool
toolName: TextMarker
toolType: annotation
---
| Switch text marker to needs example layout | Switch text marker to needs example layout
| Markdown | mit | chafey/cornerstoneTools,cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools | markdown | ## Code Before:
---
layout: tool-simple
title: Text Marker Tool
toolName: TextMarker
---
<h2 class="title is-2">π§ Under Construction π§</h2>
This example needs additional work
## Instruction:
Switch text marker to needs example layout
## Code After:
---
layout: needs-example
title: Text Marker Tool
toolName: TextMarker
toolType: annotation
---
| ---
- layout: tool-simple
+ layout: needs-example
title: Text Marker Tool
toolName: TextMarker
+ toolType: annotation
---
-
- <h2 class="title is-2">π§ Under Construction π§</h2>
-
- This example needs additional work | 7 | 0.777778 | 2 | 5 |
679f76036e1179e8735c5a53a4b21d4e0d005b04 | spec/lib/course_alert_manager_spec.rb | spec/lib/course_alert_manager_spec.rb | require 'rails_helper'
require "#{Rails.root}/lib/course_alert_manager"
def mock_mailer
OpenStruct.new(deliver_now: true)
end
describe CourseAlertManager do
describe '#create_no_students_alerts' do
let(:course) { create(:course, timeline_start: 16.days.ago) }
let(:admin) { create(:admin, email: '[email protected]') }
let!(:courses_user) do
create(:courses_user,
course_id: course.id,
user_id: admin.id,
role: CoursesUsers::Roles::WIKI_ED_STAFF_ROLE)
end
let(:subject) { CourseAlertManager.new.create_no_students_alerts }
it 'creates an Alert record and emails a greeter' do
expect_any_instance_of(AlertMailer).to receive(:alert).and_return(mock_mailer)
subject
expect(Alert.count).to eq(1)
expect(Alert.last.email_sent_at).not_to be_nil
end
it 'does not create a second Alert for the same course' do
Alert.create(type: 'NoEnrolledStudentsAlert', course_id: course.id)
expect(Alert.count).to eq(1)
subject
expect(Alert.count).to eq(1)
end
end
end
| require 'rails_helper'
require "#{Rails.root}/lib/course_alert_manager"
def mock_mailer
OpenStruct.new(deliver_now: true)
end
describe CourseAlertManager do
describe '#create_no_students_alerts' do
let(:course) { create(:course, start: 16.days.ago, timeline_start: 16.days.ago, end: 1.month.from_now) }
let(:admin) { create(:admin, email: '[email protected]') }
let!(:courses_user) do
create(:courses_user,
course_id: course.id,
user_id: admin.id,
role: CoursesUsers::Roles::WIKI_ED_STAFF_ROLE)
end
let(:subject) { CourseAlertManager.new.create_no_students_alerts }
it 'creates an Alert record and emails a greeter' do
expect_any_instance_of(AlertMailer).to receive(:alert).and_return(mock_mailer)
subject
expect(Alert.count).to eq(1)
expect(Alert.last.email_sent_at).not_to be_nil
end
it 'does not create a second Alert for the same course' do
Alert.create(type: 'NoEnrolledStudentsAlert', course_id: course.id)
expect(Alert.count).to eq(1)
subject
expect(Alert.count).to eq(1)
end
end
end
| Tweak spec that failed on travis | Tweak spec that failed on travis
| Ruby | mit | feelfreelinux/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,Wowu/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,alpha721/WikiEduDashboard,sejalkhatri/WikiEduDashboard,alpha721/WikiEduDashboard,Wowu/WikiEduDashboard,MusikAnimal/WikiEduDashboard,MusikAnimal/WikiEduDashboard,Wowu/WikiEduDashboard,MusikAnimal/WikiEduDashboard,feelfreelinux/WikiEduDashboard,sejalkhatri/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,majakomel/WikiEduDashboard,MusikAnimal/WikiEduDashboard,majakomel/WikiEduDashboard,feelfreelinux/WikiEduDashboard,KarmaHater/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,KarmaHater/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,alpha721/WikiEduDashboard,feelfreelinux/WikiEduDashboard,KarmaHater/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,alpha721/WikiEduDashboard,Wowu/WikiEduDashboard,majakomel/WikiEduDashboard | ruby | ## Code Before:
require 'rails_helper'
require "#{Rails.root}/lib/course_alert_manager"
def mock_mailer
OpenStruct.new(deliver_now: true)
end
describe CourseAlertManager do
describe '#create_no_students_alerts' do
let(:course) { create(:course, timeline_start: 16.days.ago) }
let(:admin) { create(:admin, email: '[email protected]') }
let!(:courses_user) do
create(:courses_user,
course_id: course.id,
user_id: admin.id,
role: CoursesUsers::Roles::WIKI_ED_STAFF_ROLE)
end
let(:subject) { CourseAlertManager.new.create_no_students_alerts }
it 'creates an Alert record and emails a greeter' do
expect_any_instance_of(AlertMailer).to receive(:alert).and_return(mock_mailer)
subject
expect(Alert.count).to eq(1)
expect(Alert.last.email_sent_at).not_to be_nil
end
it 'does not create a second Alert for the same course' do
Alert.create(type: 'NoEnrolledStudentsAlert', course_id: course.id)
expect(Alert.count).to eq(1)
subject
expect(Alert.count).to eq(1)
end
end
end
## Instruction:
Tweak spec that failed on travis
## Code After:
require 'rails_helper'
require "#{Rails.root}/lib/course_alert_manager"
def mock_mailer
OpenStruct.new(deliver_now: true)
end
describe CourseAlertManager do
describe '#create_no_students_alerts' do
let(:course) { create(:course, start: 16.days.ago, timeline_start: 16.days.ago, end: 1.month.from_now) }
let(:admin) { create(:admin, email: '[email protected]') }
let!(:courses_user) do
create(:courses_user,
course_id: course.id,
user_id: admin.id,
role: CoursesUsers::Roles::WIKI_ED_STAFF_ROLE)
end
let(:subject) { CourseAlertManager.new.create_no_students_alerts }
it 'creates an Alert record and emails a greeter' do
expect_any_instance_of(AlertMailer).to receive(:alert).and_return(mock_mailer)
subject
expect(Alert.count).to eq(1)
expect(Alert.last.email_sent_at).not_to be_nil
end
it 'does not create a second Alert for the same course' do
Alert.create(type: 'NoEnrolledStudentsAlert', course_id: course.id)
expect(Alert.count).to eq(1)
subject
expect(Alert.count).to eq(1)
end
end
end
| require 'rails_helper'
require "#{Rails.root}/lib/course_alert_manager"
def mock_mailer
OpenStruct.new(deliver_now: true)
end
describe CourseAlertManager do
describe '#create_no_students_alerts' do
- let(:course) { create(:course, timeline_start: 16.days.ago) }
+ let(:course) { create(:course, start: 16.days.ago, timeline_start: 16.days.ago, end: 1.month.from_now) }
? ++++++++++++++++++++ +++++++++++++++++++++++
let(:admin) { create(:admin, email: '[email protected]') }
let!(:courses_user) do
create(:courses_user,
course_id: course.id,
user_id: admin.id,
role: CoursesUsers::Roles::WIKI_ED_STAFF_ROLE)
end
let(:subject) { CourseAlertManager.new.create_no_students_alerts }
it 'creates an Alert record and emails a greeter' do
expect_any_instance_of(AlertMailer).to receive(:alert).and_return(mock_mailer)
subject
expect(Alert.count).to eq(1)
expect(Alert.last.email_sent_at).not_to be_nil
end
it 'does not create a second Alert for the same course' do
Alert.create(type: 'NoEnrolledStudentsAlert', course_id: course.id)
expect(Alert.count).to eq(1)
subject
expect(Alert.count).to eq(1)
end
end
end | 2 | 0.058824 | 1 | 1 |
d130c9067faf02471a9cf245239490814cdbb054 | vagrant/setup_dev_environment.sh | vagrant/setup_dev_environment.sh |
sudo apt-get update
sudo apt-get install -y \
libhdf5-dev \
pkg-config \
libfreetype6-dev \
libpng12-dev \
python-dev \
python-pip
sudo pip install Cython
sudo pip install -r /home/vagrant/pyexperiment/requirements.txt
echo "export PYTONPATH='.'" >> .bashrc
|
sudo apt-get update
sudo apt-get install -y \
libhdf5-dev \
pkg-config \
libfreetype6-dev \
libpng12-dev \
python-dev \
python-pip
sudo pip install Cython
sudo pip install -r /home/vagrant/pyexperiment/requirements.txt
echo "export PYTHONPATH='.'" >> /home/vagrant/.bashrc
| Fix typo in vagrant setup script... | Fix typo in vagrant setup script...
| Shell | mit | kinverarity1/pyexperiment,kinverarity1/pyexperiment,kinverarity1/pyexperiment,shaunstanislaus/pyexperiment,DeercoderResearch/pyexperiment,duerrp/pyexperiment,duerrp/pyexperiment,DeercoderResearch/pyexperiment,duerrp/pyexperiment,kinverarity1/pyexperiment,DeercoderResearch/pyexperiment,shaunstanislaus/pyexperiment,shaunstanislaus/pyexperiment,shaunstanislaus/pyexperiment,DeercoderResearch/pyexperiment | shell | ## Code Before:
sudo apt-get update
sudo apt-get install -y \
libhdf5-dev \
pkg-config \
libfreetype6-dev \
libpng12-dev \
python-dev \
python-pip
sudo pip install Cython
sudo pip install -r /home/vagrant/pyexperiment/requirements.txt
echo "export PYTONPATH='.'" >> .bashrc
## Instruction:
Fix typo in vagrant setup script...
## Code After:
sudo apt-get update
sudo apt-get install -y \
libhdf5-dev \
pkg-config \
libfreetype6-dev \
libpng12-dev \
python-dev \
python-pip
sudo pip install Cython
sudo pip install -r /home/vagrant/pyexperiment/requirements.txt
echo "export PYTHONPATH='.'" >> /home/vagrant/.bashrc
|
sudo apt-get update
sudo apt-get install -y \
libhdf5-dev \
pkg-config \
libfreetype6-dev \
libpng12-dev \
python-dev \
python-pip
sudo pip install Cython
sudo pip install -r /home/vagrant/pyexperiment/requirements.txt
- echo "export PYTONPATH='.'" >> .bashrc
+ echo "export PYTHONPATH='.'" >> /home/vagrant/.bashrc
? + ++++++++++++++
| 2 | 0.142857 | 1 | 1 |
7709dad1554d79fe239c370920fbf0e82e2affe4 | app/templates/application.hbs | app/templates/application.hbs | <div id="application" class="ui text">
<!--
<h1>{{#link-to 'podcasts'}}{{t "app.title"}}{{/link-to}}</h1>
-->
{{outlet}}
</div>
<div class="ui top labeled icon fixed item menu">
{{#link-to 'podcasts' class="item"}}
<i class="sound icon"></i>
<!-- {{t "tabs.myPodcasts"}} -->
{{/link-to}}
{{#link-to 'search' class="item"}}
<i class="search icon"></i>
<!-- {{t "tabs.search"}} -->
{{/link-to}}
<!-- {{#link-to 'podcasts.new' class="item"}}
<i class="plus icon"></i>
{{t "podcast.add"}}
{{/link-to}} -->
</div>
<audio id="audio-player" preload="auto" mozaudiochannel="content"></audio>
{{render "player"}}
{{outlet 'modal'}}
| <div id="application" class="ui text">
<!--
<h1>{{#link-to 'podcasts'}}{{t "app.title"}}{{/link-to}}</h1>
-->
{{outlet}}
</div>
<div class="ui top labeled icon fixed item menu">
{{#link-to 'podcasts' class="item"}}
<i class="sound icon"></i>
<!-- {{t "tabs.myPodcasts"}} -->
{{/link-to}}
{{#link-to 'podcasts.new' class="item"}}
<i class="search icon"></i>
<!-- {{t "tabs.search"}} -->
{{/link-to}}
<!-- {{#link-to 'podcasts.new' class="item"}}
<i class="plus icon"></i>
{{t "podcast.add"}}
{{/link-to}} -->
</div>
<audio id="audio-player" preload="auto" mozaudiochannel="content"></audio>
{{render "player"}}
{{outlet 'modal'}}
| Revert search link to podcasts.new | Revert search link to podcasts.new
| Handlebars | mit | mozilla/high-fidelity,mozilla/high-fidelity | handlebars | ## Code Before:
<div id="application" class="ui text">
<!--
<h1>{{#link-to 'podcasts'}}{{t "app.title"}}{{/link-to}}</h1>
-->
{{outlet}}
</div>
<div class="ui top labeled icon fixed item menu">
{{#link-to 'podcasts' class="item"}}
<i class="sound icon"></i>
<!-- {{t "tabs.myPodcasts"}} -->
{{/link-to}}
{{#link-to 'search' class="item"}}
<i class="search icon"></i>
<!-- {{t "tabs.search"}} -->
{{/link-to}}
<!-- {{#link-to 'podcasts.new' class="item"}}
<i class="plus icon"></i>
{{t "podcast.add"}}
{{/link-to}} -->
</div>
<audio id="audio-player" preload="auto" mozaudiochannel="content"></audio>
{{render "player"}}
{{outlet 'modal'}}
## Instruction:
Revert search link to podcasts.new
## Code After:
<div id="application" class="ui text">
<!--
<h1>{{#link-to 'podcasts'}}{{t "app.title"}}{{/link-to}}</h1>
-->
{{outlet}}
</div>
<div class="ui top labeled icon fixed item menu">
{{#link-to 'podcasts' class="item"}}
<i class="sound icon"></i>
<!-- {{t "tabs.myPodcasts"}} -->
{{/link-to}}
{{#link-to 'podcasts.new' class="item"}}
<i class="search icon"></i>
<!-- {{t "tabs.search"}} -->
{{/link-to}}
<!-- {{#link-to 'podcasts.new' class="item"}}
<i class="plus icon"></i>
{{t "podcast.add"}}
{{/link-to}} -->
</div>
<audio id="audio-player" preload="auto" mozaudiochannel="content"></audio>
{{render "player"}}
{{outlet 'modal'}}
| <div id="application" class="ui text">
<!--
<h1>{{#link-to 'podcasts'}}{{t "app.title"}}{{/link-to}}</h1>
-->
{{outlet}}
</div>
<div class="ui top labeled icon fixed item menu">
{{#link-to 'podcasts' class="item"}}
<i class="sound icon"></i>
<!-- {{t "tabs.myPodcasts"}} -->
{{/link-to}}
- {{#link-to 'search' class="item"}}
? ^^^^
+ {{#link-to 'podcasts.new' class="item"}}
? +++++ ++++ ^
<i class="search icon"></i>
<!-- {{t "tabs.search"}} -->
{{/link-to}}
<!-- {{#link-to 'podcasts.new' class="item"}}
<i class="plus icon"></i>
{{t "podcast.add"}}
{{/link-to}} -->
</div>
<audio id="audio-player" preload="auto" mozaudiochannel="content"></audio>
{{render "player"}}
{{outlet 'modal'}} | 2 | 0.071429 | 1 | 1 |
f99536d0462b21850b81086eff20d9ccd5918c46 | config.ru | config.ru | $:.unshift *Dir[File.dirname(__FILE__)]
require "app"
App.set :run, false
logger = ::File.open("log/main.log", "a+")
App.use Rack::CommonLogger, logger
run App
| $:.unshift *Dir[File.dirname(__FILE__)]
require "app"
App.set :run, false
unless File.directory?('log/main.log')
FileUtils.mkdir_p('log/main.log')
end
logger = ::File.open("log/main.log", "a+")
App.use Rack::CommonLogger, logger
run App
| Create log dir if doesn't exist | Create log dir if doesn't exist
| Ruby | mit | nicinabox/boxcar,nicinabox/boxcar,nicinabox/boxcar | ruby | ## Code Before:
$:.unshift *Dir[File.dirname(__FILE__)]
require "app"
App.set :run, false
logger = ::File.open("log/main.log", "a+")
App.use Rack::CommonLogger, logger
run App
## Instruction:
Create log dir if doesn't exist
## Code After:
$:.unshift *Dir[File.dirname(__FILE__)]
require "app"
App.set :run, false
unless File.directory?('log/main.log')
FileUtils.mkdir_p('log/main.log')
end
logger = ::File.open("log/main.log", "a+")
App.use Rack::CommonLogger, logger
run App
| $:.unshift *Dir[File.dirname(__FILE__)]
require "app"
App.set :run, false
+
+ unless File.directory?('log/main.log')
+ FileUtils.mkdir_p('log/main.log')
+ end
logger = ::File.open("log/main.log", "a+")
App.use Rack::CommonLogger, logger
run App | 4 | 0.4 | 4 | 0 |
67642fd92f04e42bd4c7c5f49e1fe3ee4cf76653 | .travis.yml | .travis.yml | sudo: false
language: node_js
node_js:
- 6
- 8
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
yarn: true
directories:
- node_modules
before_install: yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
after_success:
- yarn run semantic-release
| sudo: false
language: node_js
node_js:
- 6
- 8
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
yarn: true
directories:
- node_modules
before_install:
- yarn global add greenkeeper-lockfile@1
before_script:
- greenkeeper-lockfile-update
after_script:
- greenkeeper-lockfile-upload
after_success:
- yarn run semantic-release
| Reformat before and after scripts | chore(tools): Reformat before and after scripts
| YAML | mit | ctavan/jupp | yaml | ## Code Before:
sudo: false
language: node_js
node_js:
- 6
- 8
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
yarn: true
directories:
- node_modules
before_install: yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
after_success:
- yarn run semantic-release
## Instruction:
chore(tools): Reformat before and after scripts
## Code After:
sudo: false
language: node_js
node_js:
- 6
- 8
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
yarn: true
directories:
- node_modules
before_install:
- yarn global add greenkeeper-lockfile@1
before_script:
- greenkeeper-lockfile-update
after_script:
- greenkeeper-lockfile-upload
after_success:
- yarn run semantic-release
| sudo: false
language: node_js
node_js:
- 6
- 8
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
yarn: true
directories:
- node_modules
+ before_install:
- before_install: yarn global add greenkeeper-lockfile@1
? ^^^^^^^^^^^^^^^
+ - yarn global add greenkeeper-lockfile@1
? ^^^
+ before_script:
- before_script: greenkeeper-lockfile-update
? ^^^^^^^^^^^^^^
+ - greenkeeper-lockfile-update
? ^^^
+ after_script:
- after_script: greenkeeper-lockfile-upload
? ^^^^^^^^^^^^^
+ - greenkeeper-lockfile-upload
? ^^^
after_success:
- yarn run semantic-release | 9 | 0.5 | 6 | 3 |
55f22f5f2ee64b2b8d47a0065b11d202c7a30432 | views/layout.haml | views/layout.haml | !!! 5
%html
%head
%title Testific.at - A/B testing for cats
%link{rel: 'stylesheet', href: '/resource/style.css'}
%link{rel: 'shortcut icon', href: '/resource/favicon.png'}
%body
= yield
%script{src: '//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'}
%script{src: '//cdnjs.cloudflare.com/ajax/libs/async/0.2.7/async.min.js'}
%script{src: '/resource/script.js'}
| !!! 5
%html{lang: 'en'}
%head
%title Testific.at - A/B testing for cats
%link{rel: 'stylesheet', href: '/resource/style.css'}
%link{rel: 'shortcut icon', href: '/resource/favicon.png'}
%body
= yield
%script{src: '//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'}
%script{src: '//cdnjs.cloudflare.com/ajax/libs/async/0.2.7/async.min.js'}
%script{src: '/resource/script.js'}
| Add lang attribute for correctness | Add lang attribute for correctness
| Haml | cc0-1.0 | passcod/testificat | haml | ## Code Before:
!!! 5
%html
%head
%title Testific.at - A/B testing for cats
%link{rel: 'stylesheet', href: '/resource/style.css'}
%link{rel: 'shortcut icon', href: '/resource/favicon.png'}
%body
= yield
%script{src: '//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'}
%script{src: '//cdnjs.cloudflare.com/ajax/libs/async/0.2.7/async.min.js'}
%script{src: '/resource/script.js'}
## Instruction:
Add lang attribute for correctness
## Code After:
!!! 5
%html{lang: 'en'}
%head
%title Testific.at - A/B testing for cats
%link{rel: 'stylesheet', href: '/resource/style.css'}
%link{rel: 'shortcut icon', href: '/resource/favicon.png'}
%body
= yield
%script{src: '//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'}
%script{src: '//cdnjs.cloudflare.com/ajax/libs/async/0.2.7/async.min.js'}
%script{src: '/resource/script.js'}
| !!! 5
- %html
+ %html{lang: 'en'}
%head
%title Testific.at - A/B testing for cats
%link{rel: 'stylesheet', href: '/resource/style.css'}
%link{rel: 'shortcut icon', href: '/resource/favicon.png'}
%body
= yield
%script{src: '//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'}
%script{src: '//cdnjs.cloudflare.com/ajax/libs/async/0.2.7/async.min.js'}
%script{src: '/resource/script.js'} | 2 | 0.181818 | 1 | 1 |
1ed6f55d1f4a563e18c77b191626e98d4db3de5f | src/templates/projects/index.html | src/templates/projects/index.html | <div class="scrollable">
<div id="indexProjContainer" class="scrollable-content">
<div ng-include="'navbar-top/projects.html'"></div>
<div class="container projects project-index">
<div>
<projects project-list="projects" context="context" container="#indexProjContainer"></projects>
</div>
</div>
</div>
</div>
<plus class="plus-mobile" plus-type="project" plus-community="community"></plus>
<div class="projects-welcome" ng-if="! community && emptyProjects()">
<div class="alert alert-info">
<span translate>project.welcome.tip</span>
</div>
</div>
| <div class="scrollable">
<div id="indexProjContainer" class="scrollable-content">
<div ng-include="'navbar-top/projects.html'"></div>
<div class="container projects project-index">
<div>
<projects project-list="projects" context="context" container="#indexProjContainer"></projects>
</div>
<div class="projects-welcome" ng-if="! community && emptyProjects()">
<div class="alert alert-info">
<span translate>project.welcome.tip</span>
</div>
</div>
</div>
</div>
</div>
<plus class="plus-mobile" plus-type="project" plus-community="community"></plus>
| Fix awful blue message on empty projects | Fix awful blue message on empty projects
| HTML | agpl-3.0 | P2Pvalue/teem,Grasia/teem,Grasia/teem,P2Pvalue/pear2pear,Grasia/teem,P2Pvalue/teem,P2Pvalue/teem,P2Pvalue/pear2pear | html | ## Code Before:
<div class="scrollable">
<div id="indexProjContainer" class="scrollable-content">
<div ng-include="'navbar-top/projects.html'"></div>
<div class="container projects project-index">
<div>
<projects project-list="projects" context="context" container="#indexProjContainer"></projects>
</div>
</div>
</div>
</div>
<plus class="plus-mobile" plus-type="project" plus-community="community"></plus>
<div class="projects-welcome" ng-if="! community && emptyProjects()">
<div class="alert alert-info">
<span translate>project.welcome.tip</span>
</div>
</div>
## Instruction:
Fix awful blue message on empty projects
## Code After:
<div class="scrollable">
<div id="indexProjContainer" class="scrollable-content">
<div ng-include="'navbar-top/projects.html'"></div>
<div class="container projects project-index">
<div>
<projects project-list="projects" context="context" container="#indexProjContainer"></projects>
</div>
<div class="projects-welcome" ng-if="! community && emptyProjects()">
<div class="alert alert-info">
<span translate>project.welcome.tip</span>
</div>
</div>
</div>
</div>
</div>
<plus class="plus-mobile" plus-type="project" plus-community="community"></plus>
| <div class="scrollable">
<div id="indexProjContainer" class="scrollable-content">
- <div ng-include="'navbar-top/projects.html'"></div>
? --
+ <div ng-include="'navbar-top/projects.html'"></div>
+
<div class="container projects project-index">
<div>
<projects project-list="projects" context="context" container="#indexProjContainer"></projects>
+ </div>
+
+ <div class="projects-welcome" ng-if="! community && emptyProjects()">
+ <div class="alert alert-info">
+ <span translate>project.welcome.tip</span>
+ </div>
</div>
</div>
</div>
</div>
<plus class="plus-mobile" plus-type="project" plus-community="community"></plus>
-
- <div class="projects-welcome" ng-if="! community && emptyProjects()">
- <div class="alert alert-info">
- <span translate>project.welcome.tip</span>
- </div>
- </div> | 15 | 0.789474 | 8 | 7 |
d96295c0a70e35253364d9bdfa1bd7c29a180568 | appveyor.yml | appveyor.yml | version: 0.0.{build}
skip_tags: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
configuration:
- Release
matrix:
fast_finish: false
init:
- git config --global core.autocrlf true
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "src\tarantool.client" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
- dotnet build "tests\tarantool.client.tests" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
- dotnet pack "src\tarantool.client" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
artifacts:
- path: artifacts\**\*.*
| version: 0.0.{build}
skip_tags: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
configuration:
- Release
matrix:
fast_finish: false
init:
- git config --global core.autocrlf true
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "src\tarantool.client" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
- dotnet build "tests\tarantool.client.tests" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
- rm -rf tests\tarantool.client.tests\bin tests\tarantool.client.tests\obj
- dotnet pack "src\tarantool.client" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
artifacts:
- path: artifacts\**\*.*
| Remove tests artifacts after build | Remove tests artifacts after build
| YAML | mit | progaudi/progaudi.tarantool,aensidhe/tarantool-csharp,aensidhe/tarantool-dnx | yaml | ## Code Before:
version: 0.0.{build}
skip_tags: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
configuration:
- Release
matrix:
fast_finish: false
init:
- git config --global core.autocrlf true
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "src\tarantool.client" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
- dotnet build "tests\tarantool.client.tests" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
- dotnet pack "src\tarantool.client" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
artifacts:
- path: artifacts\**\*.*
## Instruction:
Remove tests artifacts after build
## Code After:
version: 0.0.{build}
skip_tags: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
configuration:
- Release
matrix:
fast_finish: false
init:
- git config --global core.autocrlf true
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "src\tarantool.client" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
- dotnet build "tests\tarantool.client.tests" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
- rm -rf tests\tarantool.client.tests\bin tests\tarantool.client.tests\obj
- dotnet pack "src\tarantool.client" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
artifacts:
- path: artifacts\**\*.*
| version: 0.0.{build}
skip_tags: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
configuration:
- Release
matrix:
fast_finish: false
init:
- git config --global core.autocrlf true
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry dotnet restore -v Minimal
build_script:
- dotnet build "src\tarantool.client" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
- dotnet build "tests\tarantool.client.tests" -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL%
after_build:
+ - rm -rf tests\tarantool.client.tests\bin tests\tarantool.client.tests\obj
- dotnet pack "src\tarantool.client" -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts
artifacts:
- path: artifacts\**\*.* | 1 | 0.032258 | 1 | 0 |
Subsets and Splits