<div dir="auto"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Shubham Swati Prasad</strong> <span dir="auto"><<a href="mailto:h20200049@goa.bits-pilani.ac.in">h20200049@goa.bits-pilani.ac.in</a>></span><br>Date: Thu, 6 May 2021, 19:04<br>Subject: Re: [GRASS-dev] [Bug] Fix currently ignored Flake8 warnings #1522<br>To: Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>><br></div><br><br><div dir="ltr"><div>Respected sir,</div><div>I have cloned the repository and after that I'm totally stuck. I don't know how to proceed further. I want to start working on the bug as soon as possible. Kindly guide me.</div><div>Regards</div><div>Shubham Swati<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 22, 2021 at 11:20 PM Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank" rel="noreferrer">neteler@osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Shubham Swati,<br>
<br>
On Thu, Apr 22, 2021 at 6:08 PM Shubham Swati Prasad<br>
<<a href="mailto:h20200049@goa.bits-pilani.ac.in" target="_blank" rel="noreferrer">h20200049@goa.bits-pilani.ac.in</a>> wrote:<br>
><br>
> Respected sir/mam,<br>
> This is with reference to the bug mentioned in the subject line. I had commented on GitHub regarding this bug, that I'm new to open source projects and coding, but I'm interested to work on it.<br>
<br>
First of all, welcome here!<br>
<br>
> One of the respected members replied and told me to first clone and compile the code. I have cloned the code. After that, I executed the following two commands:<br>
> git remote add upstream <a href="https://github.com/OSGeo/grass" rel="noreferrer noreferrer" target="_blank">https://github.com/OSGeo/grass</a><br>
> git remote -v<br>
> After this can I directly start editing the code? Or compilation is still required? I am new to this and I'm not able to understand the compilation. I am using Ubuntu 20.04 Kindly help me with this.<br>
<br>
Your questions are right. When looking at this document (which I<br>
initially thought to send as an answer) I see the documentation gap<br>
therein:<br>
<a href="https://github.com/OSGeo/grass/blob/master/CONTRIBUTING.md#first-time-setup" rel="noreferrer noreferrer" target="_blank">https://github.com/OSGeo/grass/blob/master/CONTRIBUTING.md#first-time-setup</a><br>
<br>
NOTE TO Devs: We should expand the "first time setup" part and add<br>
some hints concerning the source code compilation.<br>
<br>
Here my attempt to<br>
<br>
General concept:<br>
GRASS GIS is written in a small (and happy) mixture of programming<br>
languages. The major part of the source code is written in C language<br>
which requires a compiler to be turned into executables ("binaries").<br>
About 30% is written in Python which is an interpreted language, hence<br>
"just" needs the Python program to be installed.<br>
Now, to turn the source code package into an installed binary package,<br>
the so-called "compilation" is needed. While the source code consists<br>
of thousands of C and Python files (plus HTML documentation), the<br>
"Makefile" system included does the job of compiling the source code<br>
in the right order, generating the manual pages, etc.<br>
<br>
In essence, the way of installation of the compiler tools + Python<br>
depends on the operating system. To facilitate this, we have collected<br>
copy-paste instructions for most operating systems in our Wiki:<br>
<a href="https://grasswiki.osgeo.org/wiki/Compile_and_Install" rel="noreferrer noreferrer" target="_blank">https://grasswiki.osgeo.org/wiki/Compile_and_Install</a><br>
<br>
What's next:<br>
Please check the Wiki page (hope the attempt of an intro above helps;<br>
pls ask otherwise here in the list) and give it a try.<br>
I am happy to add an extra section to the CONTRIBUTING.md file (or<br>
another place, if the devs prefer) to fill the gap in the document.<br>
<br>
Best,<br>
Markus<br>
<br>
<br>
-- <br>
Markus Neteler, PhD<br>
<a href="https://www.mundialis.de" rel="noreferrer noreferrer" target="_blank">https://www.mundialis.de</a> - free data with free software<br>
<a href="https://grass.osgeo.org" rel="noreferrer noreferrer" target="_blank">https://grass.osgeo.org</a><br>
<a href="https://courses.neteler.org/blog" rel="noreferrer noreferrer" target="_blank">https://courses.neteler.org/blog</a><br>
</blockquote></div>
</div>