Code Monkey home page Code Monkey logo

first-issues's Introduction

First Issues Bot

Build Repo Size LICENSE Contributors Last Commit

Do you want to contribute to open source software, but don't know where to start? We have developed a bot which tweets all github issues with the label good first issue or good-first-issue. Issues with these labels are easy to solve, which makes them perfect for Github users who are new to open source.

You can follow our twitter account [@first_issues](https://twitter.com/first_issues) or telegram channel [@first_issues](https://twitter.com/first_issues) or simply Say Thanks!

How to use ๐Ÿค”

Read our how to use guide here.

Deployment

Currently this application can be deployed as a docker container or it can be deployed as a standalone cron job.

Troubleshooting ๐Ÿ› 

Seeing any errors while running the bot? Check out the Troubleshooting Guide.

If your problem is not present there, then go ahead and create an issue

Contributing ๐Ÿง‘โ€๐Ÿ’ป

  • If you have got any suggestions, drop your suggestions here.
  • If you want to fix some existing bugs in the script, you can find open issues here

Read our Contribution guide here.

Sponsors ๐ŸŒŸ

drawing
@KiTETechCollege

Past Sponsors โญ๏ธ

Utkarsh Upadhyay Subhrajyoti Sen Swapnil Agarwal
@musically-ut @SubhrajyotiSen @swapagarwal

License ๐Ÿ‘ฎ

Read our license here.

Credits ๐Ÿ‘

first-issues's People

Contributors

aayush3014 avatar anaisabelamr avatar aneal-sharma avatar anubhavsinha98 avatar arshadkazmi42 avatar cmdrtorefresh avatar deepsource-autofix[bot] avatar deepsourcebot avatar divyakelaskar avatar freddygcala avatar funnelferry avatar gennadis avatar jaswir avatar kgashok avatar malavi1 avatar muhahahmad68 avatar muhannad-hash avatar olulanke-mainasara avatar rajdeep-biswas avatar rising-stark avatar royserg avatar sarthaknimbalkar avatar srk224 avatar subhampaul21 avatar subhasmitasw avatar subhrajyotisen avatar subinduresh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

first-issues's Issues

Add PR Template

Add a PULL_REQUEST_TEMPLATE.md with following details

Fixes #issuenumber

Check everything which applies
[] I have added the issue number for which this pull request is created.

Remove .github directory

Remove .github directory from project. As it only contains FUNDING details and the patreon page is not active anymore.

Change PR template

Change PULL_REQUEST_TEMPLATE.md file content to below content

Fixes #issuenumber

Check everything which applies

- [ ] I have added the issue number for which this pull request is created.

The fake new first issue

Issuehunt badges

Hello,

The post in twitter about good first issue is not always the first issue, when a tag is added and there is a conversation history the bot ends up getting the tag again and posting as a good first issue, and the problem is already being resolved.


IssueHunt Summary

therajdeepbiswas therajdeepbiswas has been rewarded.

Backers (Total: $5.00)

Submitted pull Requests


Tips

Looking for a sponsor

Hi All,

We are looking for a sponsor, who can sponsor a Ubuntu machine, to run this bot.

Currently the bot is not up as we have ran out of funds.

Reply on this thread, if you want to sponsor us

Command in HOW_TO_USE.md needs to be udpated

Currently, command presented in HOW_TO_USE.md file is:
python first_timers/run.py --creds-path credentials.json --db-path data/db.json --only-save

When I first tried to deploy it, this command gives:
DB file does not exist and argument--create was not passed

Therefore, we can add --create flag to this command and the second command as well.
python first_timers/run.py --creds-path credentials.json --create --db-path data/db.json --only-save

I can create PR for this. Please let me know if I am following proper process. Thanks!

Add sponsor

Add Utkarsh as sponsor in readme.
We are planning to have a circular avatar added in readme.

Remove icon directory

We have a icon directory in the repository.
But we are not using it. Let's remove that directory.

Remove contributors section from README

We want to remove the contributors section from readme as github now shows the contributors list on right side bar of the repository.

So maintaining in the readme is redundant

For this, you just need to remove 67 to 72

Some code refactoring may be needed

def get_first_timer_issues(days_old=DAYS_OLD):
"""Fetches the first page of issues with the label first-timers-label
which are still open.
"""
items = []
for query in queries:
res = requests.get(query)
if res.status_code == 403:
warnings.warn('Rate limit reached')
return items
if res.ok:
for item in res.json()['items']:
created_at = datetime.strptime(item['created_at'], "%Y-%m-%dT%H:%M:%SZ")
if (datetime.now() - created_at).days < days_old:
items.append(item)
else:
raise RuntimeError(
'Could not handle response: ' + str(res) + ' from the API.'
)
return items

Build failing

  • Build is failing for python 3.6 and 3.7

Check and fix the issue.

Update the workflow if required

Limting number of # tags in tweet

In this PR #53 we integrated languages #tags in tweet.
Some of the tweets have a huge number of tags due to which sometimes the tweet length is exceeding and API call to post a tweet is failing.
We need some limit to #tags used in the tweet. It should be dependent on the total length of the tweet and actual content should be present in the tweet

Add Logging Module

Logs are also useful to detect common mistakes users make, as well as for security purposes. Writing good logs about a user's activity can alert us about harmful activity. It is important that logs can provide accurate context about what the user was doing when a specific error happened.

Reference Links:
https://realpython.com/python-logging/

Encoding issue

Tweets texts are getting appended with b' due to some encoding issue.
This needs to be fixed.

Snapshot attached

screen shot 2019-01-10 at 11 55 05 am

Configure test discovery as per pytest good practices

Test discovery is best handled by adopting good practices.

I suggest we move in a phased manner. Begin by adopting good practices for tests outside application code, which is the way it is currently configured.

Add repository languages to the Tweet

It would make easier to find the projects to contribute.

I'm thinking adding the languages as hashtags after the #github hashtag.

Let me know if I can start working on this improvement.

Deploy

For #61

Release latest version. Validate the code changes in local

Looking for server space.

Need a machine to run this bot.
Anyone who can help us run this on their machine, can comment here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.