From 333d6f8562b3ac639fa33757bf812f136521f680 Mon Sep 17 00:00:00 2001 From: Georg Link Date: Sat, 17 Feb 2018 12:34:21 -0600 Subject: [PATCH] Add license to repo and every file --- georg/LICENSE => LICENSE | 0 bootstrap.sh | 5 +++-- demos/buy_bot | 1 + demos/issue_count | 1 + demos/oracle | 1 + demos/spec/issue_count_spec.rb | 2 ++ forecast1/all_rebuild | 1 + forecast1/clear | 1 + forecast1/contract_load | 2 +- forecast1/count | 1 + forecast1/offer_load | 2 +- forecast1/repo_load | 1 + forecast1/spec/rebuild_spec.rb | 2 ++ forecast1/user_load.sh | 1 + history1/all | 1 + history1/clear | 1 + history1/count | 1 + history1/offer_load | 1 + history1/repo_load | 1 + history1/spec/history_spec.rb | 2 ++ history1/user_load.sh | 1 + rebuild/all | 3 ++- rebuild/clear | 1 + rebuild/contract_load | 2 +- rebuild/count | 1 + rebuild/offer_load | 2 +- rebuild/repo_load | 2 +- rebuild/spec/rebuild_spec.rb | 2 ++ rebuild/user_load | 11 ++++++----- util/dates | 1 + 30 files changed, 41 insertions(+), 13 deletions(-) rename georg/LICENSE => LICENSE (100%) diff --git a/georg/LICENSE b/LICENSE similarity index 100% rename from georg/LICENSE rename to LICENSE diff --git a/bootstrap.sh b/bootstrap.sh index 4c00e9d..feda434 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,11 +1,12 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 echo "Download gem installer" gem install specific_install echo "Remove old gems" gem uninstall bmx_api_ruby -gem uninstall bmx_cl_ruby +gem uninstall bmx_cl_ruby echo "Install/Upgrade Bugmark CLI" gem specific_install http://github.com/bugmark/bmx_api_ruby @@ -13,6 +14,6 @@ gem specific_install http://github.com/bugmark/bmx_cl_ruby echo "Create configuration for localhost" echo "(You'll have to tweak the hostname and scheme)" -bmx config set --usermail=admin@bugmark.net --password=bugmark +bmx config set --usermail=admin@bugmark.net --password=bugmark bmx help diff --git a/demos/buy_bot b/demos/buy_bot index 949b621..984005b 100755 --- a/demos/buy_bot +++ b/demos/buy_bot @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' diff --git a/demos/issue_count b/demos/issue_count index aad69d5..90e26ca 100755 --- a/demos/issue_count +++ b/demos/issue_count @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' diff --git a/demos/oracle b/demos/oracle index 3d2616f..e06e609 100755 --- a/demos/oracle +++ b/demos/oracle @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' diff --git a/demos/spec/issue_count_spec.rb b/demos/spec/issue_count_spec.rb index c25e4e5..15eed02 100644 --- a/demos/spec/issue_count_spec.rb +++ b/demos/spec/issue_count_spec.rb @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + require 'json' describe "issue_count" do diff --git a/forecast1/all_rebuild b/forecast1/all_rebuild index 691598a..827f3d4 100755 --- a/forecast1/all_rebuild +++ b/forecast1/all_rebuild @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 echo "----- FORECAST1 TOTAL REBUILD ---------------------" echo "START `date`" diff --git a/forecast1/clear b/forecast1/clear index 112e58f..6991b41 100755 --- a/forecast1/clear +++ b/forecast1/clear @@ -1,3 +1,4 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx host rebuild --affirm=destroy_all_data diff --git a/forecast1/contract_load b/forecast1/contract_load index 67e0919..d03cf45 100755 --- a/forecast1/contract_load +++ b/forecast1/contract_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'pry' require 'json' @@ -11,4 +12,3 @@ offers.each do |uuid| puts cmd puts `#{cmd}` end - diff --git a/forecast1/count b/forecast1/count index 011420b..dcacd04 100755 --- a/forecast1/count +++ b/forecast1/count @@ -1,3 +1,4 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx host counts --color diff --git a/forecast1/offer_load b/forecast1/offer_load index ffd8059..3e35edd 100755 --- a/forecast1/offer_load +++ b/forecast1/offer_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' require 'time' @@ -111,4 +112,3 @@ end gen_offers(found_opts , "fixed") gen_offers(unfound_opts, "unfixed") - diff --git a/forecast1/repo_load b/forecast1/repo_load index 210c9d7..dfb87a4 100755 --- a/forecast1/repo_load +++ b/forecast1/repo_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' diff --git a/forecast1/spec/rebuild_spec.rb b/forecast1/spec/rebuild_spec.rb index bfcc302..d1e2557 100644 --- a/forecast1/spec/rebuild_spec.rb +++ b/forecast1/spec/rebuild_spec.rb @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + require 'json' describe "all_rebuild" do diff --git a/forecast1/user_load.sh b/forecast1/user_load.sh index 8d9448e..ae90758 100755 --- a/forecast1/user_load.sh +++ b/forecast1/user_load.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx user create --balance=1000 --password=bugmark --usermail=user1@bugmark.net bmx user create --balance=1000 --password=bugmark --usermail=user2@bugmark.net diff --git a/history1/all b/history1/all index d3c3510..02468bb 100755 --- a/history1/all +++ b/history1/all @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 echo "----- HISTORY1 ---------------------" echo "START `date`" diff --git a/history1/clear b/history1/clear index 6361730..8cf491d 100755 --- a/history1/clear +++ b/history1/clear @@ -1,3 +1,4 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx host rebuild --affirm=destroy_all_data --with_day_offset=-7 diff --git a/history1/count b/history1/count index 011420b..dcacd04 100755 --- a/history1/count +++ b/history1/count @@ -1,3 +1,4 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx host counts --color diff --git a/history1/offer_load b/history1/offer_load index 8053501..9fb71b9 100755 --- a/history1/offer_load +++ b/history1/offer_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' require 'time' diff --git a/history1/repo_load b/history1/repo_load index 210c9d7..dfb87a4 100755 --- a/history1/repo_load +++ b/history1/repo_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' diff --git a/history1/spec/history_spec.rb b/history1/spec/history_spec.rb index a2e2839..41b80f6 100644 --- a/history1/spec/history_spec.rb +++ b/history1/spec/history_spec.rb @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + require 'json' # describe "all_rebuild" do diff --git a/history1/user_load.sh b/history1/user_load.sh index 8d9448e..ae90758 100755 --- a/history1/user_load.sh +++ b/history1/user_load.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx user create --balance=1000 --password=bugmark --usermail=user1@bugmark.net bmx user create --balance=1000 --password=bugmark --usermail=user2@bugmark.net diff --git a/rebuild/all b/rebuild/all index d82560c..116463f 100755 --- a/rebuild/all +++ b/rebuild/all @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 abort() { echo "Usage: all " @@ -10,7 +11,7 @@ abort() { echo "----- BUGMARK-CLI TOTAL REBUILD TEST ---------------------" echo "START `date`" -( echo Clear Old Data ; ./rebuild/clear ) && +( echo Clear Old Data ; ./rebuild/clear ) && ( echo Load User Data ; ./rebuild/user_load ) && ( echo Load Test Repo ; ./rebuild/repo_load $1 ) && ( echo Load Offers ; ./rebuild/offer_load ) && diff --git a/rebuild/clear b/rebuild/clear index f0e1a2a..f23c578 100755 --- a/rebuild/clear +++ b/rebuild/clear @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx host rebuild --affirm=destroy_all_data bmx config set --usermail=admin@bugmark.net --password=bugmark diff --git a/rebuild/contract_load b/rebuild/contract_load index 67e0919..d03cf45 100755 --- a/rebuild/contract_load +++ b/rebuild/contract_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'pry' require 'json' @@ -11,4 +12,3 @@ offers.each do |uuid| puts cmd puts `#{cmd}` end - diff --git a/rebuild/count b/rebuild/count index 011420b..dcacd04 100755 --- a/rebuild/count +++ b/rebuild/count @@ -1,3 +1,4 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 bmx host counts --color diff --git a/rebuild/offer_load b/rebuild/offer_load index ae6d6a9..532fed4 100755 --- a/rebuild/offer_load +++ b/rebuild/offer_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' require 'time' @@ -111,4 +112,3 @@ end gen_offers(found_opts , "fixed") gen_offers(unfound_opts, "unfixed") - diff --git a/rebuild/repo_load b/rebuild/repo_load index 1b08f34..a412312 100755 --- a/rebuild/repo_load +++ b/rebuild/repo_load @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'json' @@ -30,4 +31,3 @@ case REPO_TYPE when 'GitHub' then gen_github_repo when 'Test' then gen_test_repo end - diff --git a/rebuild/spec/rebuild_spec.rb b/rebuild/spec/rebuild_spec.rb index eda9abf..71cd457 100644 --- a/rebuild/spec/rebuild_spec.rb +++ b/rebuild/spec/rebuild_spec.rb @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + require 'json' describe "rebuild" do diff --git a/rebuild/user_load b/rebuild/user_load index 3a2cabd..977f566 100755 --- a/rebuild/user_load +++ b/rebuild/user_load @@ -1,7 +1,8 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 -bmx user create --balance=1000 --password=bugmark --usermail=test1@bugmark.net -bmx user create --balance=1000 --password=bugmark --usermail=test2@bugmark.net -bmx user create --balance=1000 --password=bugmark --usermail=test3@bugmark.net -bmx user create --balance=1000 --password=bugmark --usermail=joe@bugmark.net -bmx user create --balance=1000 --password=bugmark --usermail=jane@bugmark.net +bmx user create --balance=1000 --password=bugmark --usermail=test1@bugmark.net +bmx user create --balance=1000 --password=bugmark --usermail=test2@bugmark.net +bmx user create --balance=1000 --password=bugmark --usermail=test3@bugmark.net +bmx user create --balance=1000 --password=bugmark --usermail=joe@bugmark.net +bmx user create --balance=1000 --password=bugmark --usermail=jane@bugmark.net diff --git a/util/dates b/util/dates index a75d1c4..6d62eb9 100755 --- a/util/dates +++ b/util/dates @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# SPDX-License-Identifier: MPL-2.0 require 'date' require 'time'