opened
donita85
username_0
##### Issue Type

- Bug Report


##### Summary

The pipeline creation wizard introduced in version 19.8 of gocd is lacking the possibility to create a new pipeline by using the package material type. 

##### Environment

```
"Go Server Information": {
    "Version": "19.9.0 (10194-34fca8f7682a65ef5fbd6726d51fd52b0c041bc6)"
  }
```
-->

###### Basic environment details

* Go Version: `19.9.0`
* JAVA Version: `12.0.1`
* OS: `Linux`
* Browser vendor and version (if relevant): `Chrome and Firefox`

###### Additional Environment Details

<!-- More environment details captured from the support API or other sources can be shared here -->

##### Steps to Reproduce

<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug include code to reproduce, if relevant -->
1. A gocd server is running on version 19.9.0
2. Trying to create a new pipeline via the web GUI
3. Trying to set as material type for the new pipeline the Package option
4. The package option is missing from the drop-down menu

##### Expected Results
Like in versions < 19.8, package should be one of the options for material type

##### Actual Results
Cannot select package as material type.

##### Possible Fix
<!--- Not obligatory, but suggest a fix or reason for the bug -->

##### Log snippets
<!--- 
If you could find any information/exceptions from the logs do provide it here. 
Do mask any confidential information which you don't want to be shared.
Remember to surround them in 3 backticks like this —

```
long log lines go here
```
-->

##### Code snippets/Screenshots
<!--- 
If you would like to share any code/screenshots please add it here.
Do mask any confidential information which you don't want to be shared.
Remember to surround them in 3 backticks like this —

```
long log lines go here
```
-->

##### Any other info
When creating a new pipeline via the API with the package option for material type everything looks ok. Even in the GUI, afterwards, the pipeline created like this can be selected, a new material can be added, and the type of this new material can be set to package. It's just that the wizard is lacking this option.
Pipeline creation wizard missing package material type
issue
created
adityasood
username_1
@username_0 the issue is captured in a brief [here](https://github.com/gocd/gocd/issues/6445) with some thoughts on the user flow.
comment
created
donita85
username_0
Thank you for the answer @username_1! Do you have an estimation when this feature would be implemented? We are just now looking to upgrade our gocd instances from 19.5 and this feature would be really important for us. Our workflow includes a lot of pipelines created with package as material type and sometimes they are manually created.
Can maybe a fallback be implemented when one would not want to use the new wizard for pipeline creation? In this case, the old menu could appear?
comment
created
marques-work
username_2
@username_0 Thanks for bringing this to our attention. I don't have a timeframe yet, but we haven't forgotten about this and will be working on it soon (i.e., adding an option to choose a package repo in the material selector).
comment
created
jlusiardi
username_3
Hello,

this is also missing in the docker image `gocd/gocd-server:v20.2.0`. 

You can't select `package` as material type.
comment
created
arvindsv
username_4
Maybe some of the work @username_5 and @GaneshSPatil are doing around pipeline config SPA could be re-used here? @username_2 might have some thoughts as well.
comment
created
kritika-singh3
username_5
There is some work going on for supporting package materials and pluggable scms on https://github.com/gocd/gocd/pull/7920.
Feedback is welcomed!
comment
created
arvindsv
username_4
Thanks, @username_5. [Your comment there](https://github.com/gocd/gocd/pull/7920#issuecomment-608270368) is very relevant to this.
comment
created
mrmanc
username_6
Just wanted to mention #2947 here in case you feel it is a duplicate issue.
comment
created
arvindsv
username_4
Closing this as https://github.com/gocd/gocd/pull/7920 is done.
comment
closed
arvindsv
username_4
issue