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

54 mantainer guide #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

54 mantainer guide #71

wants to merge 3 commits into from

Conversation

ManuelAlvarezC
Copy link
Collaborator

Description

Add a first version of the Maintainer Guide
Fixed issues that arise warnings on docs generation.
Linting docstrings a little.

Related to #54, but doesn't fix all the issues.

Checklist:

  • I have read the CONTRIBUTING GUIDE and made sure this Pull Request is compliant with it.
  • I have read the DATA MODEL and DATA SOURCES and made sure this Pull Request is compliant with it.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Moved task_geo.data_sources.covid.fr_covidata -> task_geo.data_sources.covid.fr_covid and split in multiple files
Moved task_geo.data_sources.covid.spain -> task_geo.data_sources.covid.es_covid
Fixing issues with docstrings formatting on different modules
Add example notebooks to the documentation index
Copy link
Member

@wwymak wwymak left a comment

Choose a reason for hiding this comment

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

Mostly nitpicks, otherwise looks fine. However, you might want to call maintainer_guide CONTRIBUTING instead (that's what a lot of the bigger open source projects do).

Actually, might be nice to also add a guideline on branching etc. (e.g. only create branches, and if you fork, please don't use master branch for your changes... 😉 )

Maintainer Guide
================

This document purpose is to define and concrete the tasks related to maintaining the github repository
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This document purpose is to define and concrete the tasks related to maintaining the github repository
This document's purpose is to define and concrete the tasks related to maintaining this github repository

(also not too sure 'concrete is the right word to use here 🤔 )

Copy link
Contributor

Choose a reason for hiding this comment

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

To "concrete" doesn't exist afaik. Maybe "to concretely define", or "to define and make concrete".

to have a detailed description of each of the task to serve as both:

1. Reference for Mantainers of the repository
2. Guide for users who may be interested in improve it's contribution workflow.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
2. Guide for users who may be interested in improve it's contribution workflow.
2. Guide for users who may be interested in improving the contribution workflow.

This document purpose is to define and concrete the tasks related to maintaining the github repository
to have a detailed description of each of the task to serve as both:

1. Reference for Mantainers of the repository
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
1. Reference for Mantainers of the repository
1. Reference for maintainers of the repository

pandas.DataFrame: Columns are country, region, sub_region (non-null),
lon, lat, date, and the desired data.

"""
if parms is None:
parms = list(PARAMETERS.keys())
Copy link
Member

Choose a reason for hiding this comment

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

maybe fix spelling on this parms too?

parms_str : string
Parameters:
lat(string)
lon(string)
Copy link
Member

Choose a reason for hiding this comment

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

hmm, is it just me but why do we want lat/lng as a str ? 👀

"""
urlData = requests.get(url).content

return pd.read_csv(io.StringIO(urlData.decode('utf-8')))
Copy link
Member

Choose a reason for hiding this comment

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

simpler if you just use pd.read_csv(url)... (and I've checked, it does work without having to specify anything else)

everything is ok, we add the ``output-ok`` label and continue to the next step.

4. **Peer review / Code review:** This is the final step, where we read the code and analyze it
looking for flaws, things that should be looked include:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
looking for flaws, things that should be looked include:
for flaws. Things that should be considered include:

Pull requests
-------------

Pull Requests are open by collaborators who whish their work to be included in the repository.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Pull Requests are open by collaborators who whish their work to be included in the repository.
Pull Requests are opened by collaborators who wish their work to be included in the repository.


1. **Verification and design:** After receiving the feature request, we must make sure that the proposal:

a) Makes sense in the scope of this project and his motivations.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
a) Makes sense in the scope of this project and his motivations.
a) Is within the scope of this project and its motivations.

Support issues came from users who tried to use our package but the the documentation ( or the
lack of thereof) wasn't helpful enough to get the results they wanted.

Usually this issues don't require developing code, just explaining the user how to use our package.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Usually this issues don't require developing code, just explaining the user how to use our package.
Usually to resolve these issues don't require developing code, just explaining to the user how to use our package.

Copy link

@hyberson hyberson left a comment

Choose a reason for hiding this comment

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

I'm not a GitHub user. I can't really review this.

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.

4 participants