PowerShell / PowerShell/PSScriptAnalyzer
Internal: Build/Release inconsistencies compared to PowerShell Core repo
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- C#
- Estrelas
- 2.2k
- Forks
- 414
- Merge médio
- 13h 1min
- PRs com merge (30d)
- 2
Descrição
@JamesWTruher is planning to do some work for making the development/CI more consistent across PowerShell repos. I'll start here listing some potential candidates:
- Pester: PsCore recently moved from version 3 to 4. PSSA is currently on version 3.4
- Visual Studio Support: I already added support for being able to build and debug PSSA using Visual Studio out of the box. PsCore has a pending PR (5209) to achieve that.
- Editing ressources: When moving to Visual Studio development and netcore2, PSSA dropped the ability to auto-generate the c# ressource class because VS does that automatically when editing ressources. People who are not on Visual Studio, currently need to add new properties to the ressouce class file manually when adding new ressource entries. A further downside is that it unnecessarily blows up the diff in a PR can potentiall lead to merge conflicts. I originally did this due to difficulties when upgrading but I will consider bringing this functionality back
- PSSA gets its version number bumped only just before the release. PSCore does it straight after the release (branch) has been created. This makes it difficult when developing or reproing bugs because it means that the installed version has to be installed/uninstalled unnecessarily often.
- Make it easier to run all tests locally by moving out some logic from the appveyor fle into a ps module
- PSSA uses a GitFlow like branching strategy where PRs target the
developmentbranch. PSCore only works on master/release branches, which seems to be the better model for smaller repos. - PSSA has too many build scripts:
build.cmd,build.ps1,.build.ps1andbuildCoreClr.ps1
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece revisando os itens não marcados na issue e os arquivos de build listados: build.cmd, build.ps1, .build.ps1, buildCoreClr.ps1 e a configuração do AppVeyor. Rastreie como as classes de recursos, o versionamento e o comportamento da CI local são tratados atualmente. Considera-se concluído quando as melhorias de consistência selecionadas forem implementadas e seu comportamento de build ou release for verificado.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp, powershell
- Domínio
- build-system, ci-cd, release
- Tipo de issue
- Refatoração
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100