Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVN not a supported material #11

Open
hanej opened this issue Jun 21, 2016 · 3 comments
Open

SVN not a supported material #11

hanej opened this issue Jun 21, 2016 · 3 comments

Comments

@hanej
Copy link

hanej commented Jun 21, 2016

It appears SVN is not a supported material. While trying to clone a template, it threw an exception as soon as it got to an SVN material in the XML.

Traceback (most recent call last):
  File "gocli.py", line 777, in <module>
    args.clonetemplate[0], args.clonetemplate[1])
  File "gocli.py", line 516, in clone_template
    self.configurator.save_updated_config()
  File "/opt/gocd/gomatic/go_cd_configurator.py", line 432, in save_updated_config
    config_after = prettify(self.config)
  File "/opt/gocd/gomatic/go_cd_configurator.py", line 74, in config
    self.reorder_elements_to_please_go()
  File "/opt/gocd/gomatic/go_cd_configurator.py", line 68, in reorder_elements_to_please_go
    pipeline.reorder_elements_to_please_go()
  File "/opt/gocd/gomatic/gocd/pipelines.py", line 530, in reorder_elements_to_please_go
    materials = self.materials
  File "/opt/gocd/gomatic/gocd/pipelines.py", line 397, in materials
    return [Materials(element) for element in elements]
  File "/opt/gocd/gomatic/gocd/materials.py", line 21, in Materials
    raise RuntimeError("don't know of material matching " + ET.tostring(element, 'utf-8'))
RuntimeError: don't know of material matching <svn dest="project_name" encryptedPassword="123456abc=" materialName="project_name" url="http://svn.example.com/svn/project_name/trunk" username="user" />
@hanej
Copy link
Author

hanej commented Aug 10, 2016

Is there any update on this issue?

@Drakekin
Copy link
Contributor

I'm afraid there are no plans to add any new functionality to gomatic that aren't needed internally, as we do not have the resources to dedicate to this project at current.

@dudadornelles
Copy link
Contributor

@hanej we would welcome a PR on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants