-
ErCiccione
.merge+ 1246
-
xmr-pr
Added
-
thomasb06
if you tell me which file to modify to try to fix this issue, maybe I do it today:
monero-project/monero-site #941
-
thomasb06
the site runs locally already
-
moneromooo
What I do when I don't know these things is grep for a similar thing and see where it is. If you want to add a FAQ, grep for an existing one.
-
thomasb06
well, grep in the github clone?
-
moneromooo
Where else.
-
thomasb06
Indeed, there is a match in the file "_i18n/en.yml"...
-
thomasb06
There is a § about it in the Faq, do you know why the issue is still open?
-
» moneromooo has no idea
-
thomasb06
Anyway I modified this file instead but it's in the .gitignore file: _site/resources/user-guides/verification-windows-beginner.html
-
thomasb06
do you know where I can find the modifiable version?
-
thomasb06
found: _i18n/en/resources/user-guides/verification-windows-beginner.md
-
thomasb06
The file Gemfile.lock is in my 'git status', can I commit it?
-
moneromooo
git log Gemfile.lock will show you whether others before did so.
-
moneromooo
The name screams "I should not be in git" but I remember a lock file related to gem being a text file, because why not do things annoyingly.
-
thomasb06
Others did so... For today, I resisted to the 'git add -a' temptation
-
thomasb06
pushed, if you want to check it?
-
moneromooo
Make a PR, and people with a clue about how the site works will :)
-
moneromooo
Good call about not running add -a btw :)
-
thomasb06
you were sort of screaming "don't add Gemfile.lock", hehe...
-
thomasb06
seriously, I don't know how to make a PR but GitHub must have a link somewhere
-
moneromooo
I'm not sure it should be added. I was just saying the ".lock" in name normally strongly hints not to, but the "Gem" in the name hints it might need to. Hence looking at git log to see.
-
thomasb06
Pull request emited. As I'm doing this from work, this is for today... Thank you for your help, maybe Monday I'll do another small change
-
ErCiccione
the .lock file shouldn't be touched indeed.
-
ErCiccione
it's there to make sure people don't have not compatible dependencies installed
-
ErCiccione
"the Gemfile.lock makes your application a single package of both your own code and the third-party code it ran the last time you know for sure that everything worked"
-
ErCiccione
thomasb06: btw on the readme there are instructions step by step for everything. Including editing user guides
-
ErCiccione
wait you wanted to edit a faq. That's even easier
-
ErCiccione
I actually have to update the part of the readme related to the FAQ, now it's easier than it used to be. But basically just take a look at the other entries and copy that structure
-
thomasb06
ErCiccione apologies for not finding, but where is the step-by-step guide?
-
ErCiccione
-
thomasb06
also, I didn't particularly wanted to update the Faq but to close issue
-
thomasb06
*issues
-
thomasb06
wow, I'm not there yet
-
ErCiccione
I have to update the instructions for the FAQ
-
ErCiccione
that's appreciated tho, adding a faq should be quite straightforward. Take a look at other PRs doing the same thing to get an idea
-
ErCiccione
-
thomasb06
the files in _18n/ seem to be in the .gitignore, aren't they?
-
ErCiccione
They are not. The _site folder is in .gitignore
-
thomasb06
understood
-
ErCiccione
because that's the built website. You need to work on the source files
-
thomasb06
btw, this issue 941 seems to be closed but is still in the list:
monero-project/monero-site #941
-
thomasb06
There is an entry in the Faq but the issue is still there
-
ErCiccione
The issue is till open. Where od you see the entry in the FAQ?
-
thomasb06
about the issue 1025, being under linux, I can redo the screenshots. Do I add two files by GIMP'ing the old ones?
-
thomasb06
-
ErCiccione
There is a PR already open for that. You see it linked in the issue itself.
-
ErCiccione
They are quite similar, yes. The already existent entry is not specific to xmr -> fiat. But yeah, seems unnecessary to have both
-
thomasb06
GitHub is to new for me... This is the PR for the issue:
monero-project/monero-site #944 ?
-
thomasb06
understood
-
ErCiccione
wait i wrote it in the body of the issue itself:
-
ErCiccione
"This question gets asked like 3 times a week on /r/monero. Worth making a dedicated answer or maybe we should just improve How can i get Monero? to include more info for the conversion from fiat. A mention to how to convert BTC -> XMR is probably good to have, since that's another very common question."
-
ErCiccione
-
thomasb06
So the explanation is the Faq is not complete, this time I got it
-
thomasb06
What would you like to add, maybe I can do it on Monday? Do you have an answer on r/morero I can almost copy-paste?
-
ErCiccione
I don't know, i haven't thought about it. I think even just a short faq linking to the other one ("how can i get monero?") would be ok
-
thomasb06
Maybe I'll do this next, let me bookmark your links
-
thomasb06
to summarize, I need to add a "qimporting:" and a "aimporting:" ?
-
ErCiccione
To do what? and where?
-
thomasb06
the file I need to add a fiat answer is _18n/en.yml
-
thomasb06
all I need to do is add a "q21: How can I get Monero from fiat?" and a "a21: You can..."
-
thomasb06
well, I'm modifying it right now... What would be your answer, from an exchange, for example cex.io but the fees are really high or p2p: localmonero.com, hudlhudl.com, ...
-
thomasb06
?
-
ErCiccione
It's not only that. See the link i sent you above to PR 1163. And please avoid using numbers in the tml key. Better a short and clear word (for example qxmrfiat axmrfiat or something like that)
-
ErCiccione
Better to not link to specific exchnages, we have a list in the merchants page
-
thomasb06
ErCiccione the command "git add _i18n/en.yml" doesn't produce any effect. Do you have an idea about I could have broken? It workd this
-
thomasb06
it worked this afternoon..
-
moneromooo
It's a noop if the file is unchanged.
-
moneromooo
Is it unchanged ?
-
thomasb06
Yes, I added a few lines: qxmrfiat: How can I get Monero from fiat?
-
thomasb06
well, it is changed
-
thomasb06
Arg, it's on GitHub already... Now I pull-request it
-
thomasb06
It seems GitHub is considering both modifications I made today a single PR:
monero-project/monero-site #1248
-
thomasb06
The entry in the Faq is made though: "axmrfiat: You can buy Monero from an institutional exchange but the fees can be very high. Also, you can buy XMR from local exchanges, i.e. peer-2-peer transaction sites, but beware of scammers as usual..."
-
thomasb06
moneromooo is it ok for you?
-
moneromooo
You probably pushed to the same branch. If you have two changes you want to kepe separate, make both of these changes on separate branches.
-
thomasb06
wow, I don't know how to do this
-
» thomasb06 has to go
-
moneromooo
git checkout master; git branch pr1; git checkout pr1; edit files; git add somefile1 somefile2; git commit; git push origin pr1; git checkout master
-
ErCiccione
thomasb06: beside that, you are still changing only one file, but that's not the only thing needed to add a FAQ entry. see how
monero-project/monero-site #1163 changes 2 files
-
moneromooo
Them same with pr2.
-
thomasb06
moneromooo many thanks
-
thomasb06
ErCiccione the second file is "s/syncronize/synchronize/" ?
-
ErCiccione
you have to edit _i18n/en.yml and get-started/faq/index.md
-
thomasb06
ErCiccione well, I really don't see any "get-started/faq/index.md" in the PR 1163
-
thomasb06
found
-
ErCiccione
-
thomasb06
"Files changed 2", indeed...
-
thomasb06
Pushed, this is it?
-
ErCiccione
you still used master. You have to remove th changes you made to the verification-windows-beginner.md file and change name of the commit and title of the PR
-
thomasb06
-
thomasb06
Maybe I can delete it?
-
asymptotically
thomasb06: did you want to just keep your 2 most recent commits?
-
thomasb06
Apparently the first one is not necessary anymore. But if I cancel it, I would also need to change the name of the PR?
-
thomasb06
Say yes, how to keep only the last two..
-
asymptotically
there's an edit button on the github webpage to change the title of your PR, as for the commits, you should be able to type `git rebase -i HEAD~4`, and then change `pick` to `drop` in front of the commits you want to get rid of
-
asymptotically
and then `git push --force`
-
thomasb06
Thanks
-
thomasb06
Can it all be done from GitHub?
-
asymptotically
not that I know of :(
-
thomasb06
-
thomasb06
?
-
asymptotically
you don't want to do what the first answer suggests (git revert) because this will create even more commits. it would be best if you did what the second answer describes (git rebase interactive and drop)
-
thomasb06
As I'm not on the computer that has the clone, the best is to wait... Thank you
-
thomasb06
By the way, how do you "replace picx with drop"?
-
thomasb06
For the moment, I don't know what it means...
-
thomasb06
It's answered in the comments, never mind
-
asymptotically
when you run that command, it opens up your editor and you'll get a line that says something like "pick <commit hash> <commit message>"
-
thomasb06
Indeed, this is what Slim answered too
-
thomasb06
Cheers, good week-end
-
asymptotically
:) happy weekend to you too
-
Snipa
.fork
-
Snipa
Whoops.
-
asymptotically
oh fork