replace vendored js with system libs

This commit is contained in:
Pirate Praveen 2017-09-24 12:08:55 +05:30
parent 749c471666
commit 95228b78e7
3 changed files with 15 additions and 4 deletions

7
debian/control vendored
View file

@ -296,6 +296,10 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
# Structured logging # Structured logging
ruby-lograge, ruby-lograge,
# Vendored js files # Vendored js files
libjs-jquery-atwho,
libjs-jquery-caret.js,
libjs-pdf,
libjs-xterm,
libjs-jquery-cookie, libjs-jquery-cookie,
libjs-jquery-history, libjs-jquery-history,
libjs-jquery-nicescroll, libjs-jquery-nicescroll,
@ -324,7 +328,8 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
node-raw-loader, node-raw-loader,
node-stats-webpack-plugin, node-stats-webpack-plugin,
node-underscore, node-underscore,
node-url-loader node-url-loader,
node-katex
Recommends: certbot Recommends: certbot
Description: git powered software platform to collaborate on code (non-omnibus) Description: git powered software platform to collaborate on code (non-omnibus)
gitlab provides web based interface to host source code and track issues. gitlab provides web based interface to host source code and track issues.

7
debian/copyright vendored
View file

@ -2,11 +2,12 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gitlab-ce Upstream-Name: gitlab-ce
Source: https://gitlab.com/gitlab-org/gitlab-ce Source: https://gitlab.com/gitlab-org/gitlab-ce
Files-Excluded: Files-Excluded:
vendor/assets/javascripts/jquery.atwho.js
vendor/assets/javascripts/jquery.caret.js
vendor/assets/javascripts/pdf*.js
vendor/assets/javascripts/xterm/xterm.js
vendor/assets/javascripts/clipboard.js vendor/assets/javascripts/clipboard.js
vendor/assets/javascripts/fuzzaldrin-plus.js vendor/assets/javascripts/fuzzaldrin-plus.js
vendor/assets/javascripts/jquery.cookie.js
vendor/assets/javascripts/vue-resource.min.js
vendor/assets/javascripts/vue.min.js
lib/tasks/haml-lint.rake lib/tasks/haml-lint.rake
lib/tasks/rubocop.rake lib/tasks/rubocop.rake
lib/tasks/scss-lint.rake lib/tasks/scss-lint.rake

5
debian/gitlab.links vendored
View file

@ -9,6 +9,11 @@ var/log/gitlab usr/share/gitlab/log
var/log/gitlab/builds usr/share/gitlab/builds var/log/gitlab/builds usr/share/gitlab/builds
run/gitlab usr/share/gitlab/tmp run/gitlab usr/share/gitlab/tmp
etc/gitlab usr/share/gitlab/config etc/gitlab usr/share/gitlab/config
usr/share/javascript/xterm/xterm.js usr/share/gitlab/vendor/assets/javascripts/xterm/xterm.js
usr/share/javascript/pdf/build/pdf.worker.js usr/share/gitlab/vendor/assets/javascripts/pdf.worker.js
usr/share/javascript/pdf/build/pdf.js usr/share/gitlab/vendor/assets/javascripts/pdf.js
usr/share/javascript/caret.js/jquery.caret.js usr/share/gitlab/vendor/assets/javascripts/jquery.caret.js
usr/share/javascript/jquery-atwho/jquery.atwho.js usr/share/gitlab/vendor/assets/javascripts/jquery.atwho.js
usr/share/javascript/jquery-history/jquery.history.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.history.js usr/share/javascript/jquery-history/jquery.history.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.history.js
usr/share/javascript/jquery-cookie/jquery.cookie.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.cookie.js usr/share/javascript/jquery-cookie/jquery.cookie.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.cookie.js
usr/share/javascript/jquery-nicescroll/jquery.nicescroll.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.nicescroll.min.js usr/share/javascript/jquery-nicescroll/jquery.nicescroll.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.nicescroll.min.js