Code Monkey home page Code Monkey logo

scm-creator's People

Contributors

ishikawa999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scm-creator's Issues

Apache2 conf.d no longer exists in 2.4

In apache2 the conf.d is no longer there so what file does the info in the big block into as it states in the install for "Then add the following Location directives to your apache configuration (for example in /etc/APACHE_DIR/conf.d/):" go?

I'd love to help out as I loved this plugin!!!

Support for redmine 4.x

Plugins crashes with the following error when using it on redmine 4.0.4:

$ rake redmine:plugins
...
/opt/redmine/redmine-4.0.4/plugins/redmine_scm/lib/scm_repositories_helper_patch.rb:10:in `block in included'
/opt/redmine/redmine-4.0.4/plugins/redmine_scm/lib/scm_repositories_helper_patch.rb:7:in `class_eval'
/opt/redmine/redmine-4.0.4/plugins/redmine_scm/lib/scm_repositories_helper_patch.rb:7:in `included'
/opt/redmine/redmine-4.0.4/plugins/redmine_scm/init.rb:27:in `include'
/opt/redmine/redmine-4.0.4/plugins/redmine_scm/init.rb:27:in `block in <top (required)>'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:426:in `instance_exec'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:426:in `block in make_lambda'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:605:in `catch'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:605:in `block in default_terminator'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:199:in `block in halting'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `block in invoke_before'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `each'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `invoke_before'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:131:in `run_callbacks'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/reloader.rb:89:in `prepare!'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
/opt/redmine/redmine-4.0.4/config/environment.rb:14:in `<top (required)>'
/var/lib/gems/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:337:in `require_environment!'
/var/lib/gems/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/opt/redmine/redmine-4.0.4/lib/tasks/redmine.rake:57:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'

Issue with Redmine 5.0.2

Hello,

I am trying to use this plugin for redmine 5.0.2, plugin migrate is throwing some error

LoadError: cannot load such file -- creator/scm_creator
/usr1/data/redmine/plugins/redmine_scm/init.rb:8:in <top (required)>' /usr1/data/redmine/lib/redmine/plugin_loader.rb:31:in load'
/usr1/data/redmine/lib/redmine/plugin_loader.rb:31:in run_initializer' /usr1/data/redmine/lib/redmine/plugin_loader.rb:108:in each'
/usr1/data/redmine/lib/redmine/plugin_loader.rb:108:in block in load' /usr1/data/redmine/config/environment.rb:16:in <top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment

Can you please help me to resolve this issue.
Thank you

Undefined local variable or method `pickup_extra_info'

Hi,

I'm not sure if the project is still maintained or not. I'm trying to use the plugin with Redmine 3.4.6 on a CentOS 7.5. Is the plugin supposed to be compatible with this Redmine version?

My redmine is up and running, integrated with Git and Svn. I've installed the plugin and called "rake redmine:plugins:migrate RAILS_ENV=production".

Any time I click on the "Create new repository" button in a project's Settings > Repositories > New repository form, I get an error in the production.log:

NameError (undefined local variable or method `pickup_extra_info' for #<RepositoriesController:0x00007f870db08e48>):
  plugins/redmine_scm/lib/scm_repositories_controller_patch.rb:50:in `create_with_scm'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Any idea what goes wrong?

Thx in advance,
Franck.

Support for redmine 4.1.1

Hi!
Plugin successfully creates repo but returns http 500

F, [2021-08-19T21:43:20.872953 #1] FATAL -- : NoMethodError (undefined method `created_with_scm' for #<Repository::Git:0x00007f924494c9a0>
Did you mean?  created_on_was):
F, [2021-08-19T21:43:20.872995 #1] FATAL -- :
F, [2021-08-19T21:43:20.873028 #1] FATAL -- : plugins/redmine_scm/lib/scm_repositories_controller_patch.rb:52:in `create'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
I, [2021-08-19T21:43:29.699573 #1]  INFO -- : Started POST "/projects/tst/repositories" for 172.19.0.1 at 2021-08-19 21:43:29 +0000
I, [2021-08-19T21:43:29.700829 #1]  INFO -- : Processing by RepositoriesController#create as HTML
I, [2021-08-19T21:43:29.700934 #1]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZThpeEgJw+sib/ADPTKZRjAe4i1ZNhhQ53JqKP8gOvO/HBGnNYFjYX5QwXuRWn04AwjgClz02/8qwSTUyAMJ8w==", "repository_scm"=>"Git", "repository"=>{"is_default"=>"1", "identifier"=>"tst", "url"=>"/usr/src/redmine/files/git/tst.git", "path_encoding"=>"UTF-8", "report_last_commit"=>"1"}, "commit"=>"Создать новое хранилище", "operation"=>"add", "project_id"=>"tst"}
I, [2021-08-19T21:43:29.713494 #1]  INFO -- :   Current user: admin (id=1)
I, [2021-08-19T21:43:29.726265 #1]  INFO -- : Creating reporitory: /usr/src/redmine/files/git/tst.git
Initialized empty Git repository in /usr/src/redmine/files/git/tst.git/
172.19.0.1 - - [19/Aug/2021:21:43:29 UTC] "POST /projects/tst/repositories HTTP/1.0" 500 648

NoMethodError: github.rb:90:in `register_hook'

I'm getting the following error when importing existing github repository:

NoMethodError (undefined method `[]' for nil:NilClass):
  plugins/redmine_scm/app/models/repository/github.rb:90:in `register_hook'
  app/controllers/repositories_controller.rb:46:in `create'
  plugins/redmine_scm/lib/scm_repositories_controller_patch.rb:70:in `create_with_scm'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

I'm not using any API keys, but only public access. github section in scm.yml is only:

  github:
    path: /opt/redmine/github

This is on Redmine 3.4.6 and the latest master branch of scm-creator.

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.