Comments (19)
@ayuhsya I see that you have committed the changes on the master branch itself. It is a bad practice to do so. Say you made all your changes to the master branch, you send the PR and let's assume didn't get merged because of some issues. Now you want to work on top of the latest master. Where do you pull that branch to? I hope you understand.
from pymediawiki.
I'll start with this, this seems easy. :|
from pymediawiki.
Great! Mention me if you run into any issues.
from pymediawiki.
@abinashmeher999 I have made the environment. Just to be sure that I did that correctly, can you tell me how does one commit a virtual environment?
Also, what next?
from pymediawiki.
This is the fun part. You can't commit all of the virtual environment. So it would be great if you could write a script(bash script would do) that creates the virtual environment and then prints the instructions to change into it.
Also you will need to freeze dependent packages into requirements.txt using pip freeze
. Does that clarify?
from pymediawiki.
Yes I've already created the requirements.txt file. Actually, that was the only new addition to the project after creating virtual environment as all others are in .gitignore.
Also, by bash script I assume you mean a MakeFile, so I'll create the same.
from pymediawiki.
No not a makefile. A simple .sh
file would do, with all the commands that you executed to create it. Also test the Python 3 environment once with the sample code.
from pymediawiki.
@abinashmeher999 can I setup virtual environment in python 2.7 I am very much familiar with this.
from pymediawiki.
@harshcrop We will be using Python 3 in the future because since we are dealing with wikipedia here and there will lots of unicode characters. And handling unicode is lot less painful in Python 3. Besides making a virtualenv for Python 3 is not very different from how you would do that for Python 2.7.
@ayuhsya Has already completed doing it. It would be pointless to the same thing again. Pull @ayuhsya's commits from his master into a new branch and see if you can complete the PR.
from pymediawiki.
@abinashmeher999 okay make new branch again can check his repo
from pymediawiki.
Sorry didn't get you.
from pymediawiki.
@abinashmeher999 I am asking that what I have to do now if this task is completed so, can I set up virtual environment for me in my repo and push into my branch and start working on new issue. That what I am asking you??
from pymediawiki.
Yeah you can go ahead. Try #3
from pymediawiki.
okay doing it
from pymediawiki.
@abinashmeher999 Yes I know that we don't work on the master branch. But this task wasn't that major so I didn't bother creating a new branch. 😐
from pymediawiki.
@ayuhsya You will realise that even a small task doesn't justify working on the master once you are on your second PR(not first) to this repo. Because the work needed then just to clean up is more than just creating a new branch. It's a small change, so no worries 😄. Better clean it up before it becomes a headache.
Maybe you can move those commits to a new branch. You can google it on how to do that. It's not uncommon to commit on your master by mistake.
from pymediawiki.
Okay, I'll do things on new branch now. But what do I do to send pull request/what else is left to do in this issue?
from pymediawiki.
from pymediawiki.
Addressed in #11.
from pymediawiki.
Related Issues (15)
- Set up tests HOT 1
- Optional parameter to decide whether to include hidden categories HOT 1
- Configure Travis/Jenkins for automated testing HOT 2
- Add method for each API property HOT 7
- make asynchronous GET request to the API HOT 2
- New name for the project HOT 11
- Lazily fetch the list of linkshere HOT 19
- Structure the project
- Specify User-Agent header in all requests. HOT 3
- Documentation for the project
- Package the code
- Refactor the code to make it easier to extend and add features later HOT 7
- Develop caching mechanisms HOT 11
- Add more options to represent the page to be queried HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymediawiki.