Skip to content

Fix installation docs: replace PyPI references with GitHub archive URLs#1126

Merged
robertatakenaka merged 3 commits intomasterfrom
copilot/correct-wiki-documentation
Mar 11, 2026
Merged

Fix installation docs: replace PyPI references with GitHub archive URLs#1126
robertatakenaka merged 3 commits intomasterfrom
copilot/correct-wiki-documentation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 10, 2026

O que esse PR faz?

packtools não está no PyPI. Atualiza a documentação de instalação no repositório para usar URLs de arquivo do GitHub em vez de pip install packtools.

  • README.md: pip install packtoolspip install https://github.com/scieloorg/packtools/archive/refs/tags/4.16.0.zip; protocolo git git://https://; instalação webapp atualizada; adicionada orientação para verificar a versão mais recente na página de releases do GitHub
  • docs/install.rst: Seção PyPI → GitHub; removida seção Windows obsoleta (referenciava Python 2.7 e packtools 2.0.1); adicionada orientação para verificar a versão mais recente na página de releases
  • scripts/README.rst: URL PyPI → URL do diretório de scripts no GitHub (/tree/master/scripts)

Nota: As páginas wiki (XML-Data-Checker, XML-to-PDF-Converter, XML-to-PDF-Converter-Library) precisam da mesma correção manualmente via interface do wiki.

Onde a revisão poderia começar?

README.md — contém as principais mudanças de instrução de instalação.

Como este poderia ser testado manualmente?

Validar que os URLs do GitHub funcionam:

pip install https://github.com/scieloorg/packtools/archive/refs/tags/4.16.0.zip

Algum cenário de contexto que queira dar?

Os comandos pip install packtools e pip install packtools>=4.10.0 falham porque o pacote não está publicado no PyPI. A seção Windows em docs/install.rst referenciava Python 2.7.3 e packtools 2.0.1 — completamente obsoleta. Como a versão no URL de exemplo ficará desatualizada, foi adicionada orientação para que o usuário verifique a versão mais recente na página de releases do GitHub antes de executar o comando.

Screenshots

N/A — mudanças apenas em documentação.

Quais são tickets relevantes?

Referências

Original prompt

This section details on the original issue you should resolve

<issue_title>Corrigir a documentação que está no wiki</issue_title>
<issue_description>### Descrição da tarefa
Corrigir a documentação que está no wiki:

https://github.com/scieloorg/packtools/wiki/XML-Data-Checker
https://github.com/scieloorg/packtools/wiki/XML-to-PDF-Converter
https://github.com/scieloorg/packtools/wiki/XML-to-PDF-Converter-Library

Como packtools não está no pypi o comando deve ser adequado para obter do github, por exemplo: https://github.com/scieloorg/packtools/archive/refs/tags/4.16.0.zip

Subtarefas

  • XML-Data-Checker
  • XML-to-PDF-Converter
  • XML-to-PDF-Converter-Library

Considerações e notas

Faça commits atômicos</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Since packtools is not published on PyPI, update all documentation
to use GitHub archive URLs for installation instead of pip install
from PyPI. Also update the git protocol URL to HTTPS and remove
the outdated Windows installation section referencing Python 2.7.

Co-authored-by: robertatakenaka <[email protected]>
Copilot AI changed the title [WIP] Fix documentation in the wiki for Packtools Fix installation docs: replace PyPI references with GitHub archive URLs Mar 10, 2026
@robertatakenaka robertatakenaka marked this pull request as ready for review March 10, 2026 16:20
Copilot AI review requested due to automatic review settings March 10, 2026 16:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates installation documentation to reflect that packtools is not published on PyPI, pointing users to GitHub sources/releases instead.

Changes:

  • Replaces pip install packtools instructions with GitHub archive (tag) URLs.
  • Updates VCS install instructions to use HTTPS instead of git://.
  • Removes obsolete Windows installation section referencing Python 2.7 / old packtools versions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Updates primary installation commands to use GitHub tag archives and HTTPS VCS URL; adjusts webapp install syntax.
docs/install.rst Replaces PyPI install section with GitHub archive URL and removes outdated Windows guidance.
scripts/README.rst Replaces PyPI link with GitHub repository link for locating scripts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/README.rst Outdated

These scripts are not part of the standard python package, available at
https://pypi.python.org/pypi/packtools.
https://github.com/scieloorg/packtools.
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link points to the repository root, but the text refers specifically to “These scripts”. Consider linking directly to the scripts/ directory (or the relevant file path) so readers land on the scripts rather than the repo homepage.

Suggested change
https://github.com/scieloorg/packtools.
https://github.com/scieloorg/packtools/tree/master/scripts.

Copilot uses AI. Check for mistakes.
Comment thread docs/install.rst
.. code-block:: bash

$ pip install packtools
$ pip install https://github.com/scieloorg/packtools/archive/refs/tags/4.16.0.zip
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot adicione um texto anterior para que o usuário verifique qual é a versão mais recente, pois pela versão mais recente tem que ir para o comando... ou melhor... o usuário não deveria usar o requirements.txt?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added guidance text directing users to check the latest version at the GitHub releases page before running the install command. Updated in both docs/install.rst and README.md. See commit 9b4a550.

Direct users to the GitHub releases page to find the latest version
before running pip install, since the version in the URL example will
become outdated. Also fix scripts/README.rst to link directly to the
scripts directory.

Co-authored-by: robertatakenaka <[email protected]>
@robertatakenaka robertatakenaka merged commit 63d3df8 into master Mar 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Corrigir a documentação que está no wiki

3 participants