You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
btw: Would it be possible to output in Bash all new data errors caused by my latest changes?
Yes.
We could compare the new datacheck.log to the previous one but it's just my file. The old version is from my last run and all other new data errors caused by anyone else would be output too. But if there would be a way to get the last version from the "official" datacheck.log.....
fpcull can be used for this purpose* right now. It wouldn't output the new data to Bash though -- just write it to a specified file.
The official datacheck.log is on noreaster at /home/www/tm/logs/datacheck.log .
While adding functionality to siteupdate.py would be easy, I'm a bit iffy on the "right" way to do it.
The official datacheck.log is at the path noted above, not at logfilepath or anything specified via the siteupdate.py commandline. Hard-coding a path into siteupdate.py that may or may not exist on a given system seems Bad Form -- and I don't want to add a new argument just for this.
Perhaps the simplest thing to do is to execute fpcull from...
datacheck.sh itself, and maybe also...
localupdate.sh, when the new datacheck.log is still in $datestr/$logdir and hasn't yet replaced the one in $tmwebbase/$logdir
*Not the specific purpose it was designed for, but it'll work. It can be used for any case where you want to remove lines of text contained in one file from another file.
Thanks. I think I got it. Comparing /home/<user>/DataProcessing/siteupdate/python-teresco/logs/datacheck.log to /home/www/tm/logs/datacheck.log.
The first directory is relative to datacheck.sh and the 2nd one would need an absolute hard-coded path. I don't see any issue as long as you catch an error when /home/www/tm/logs/datacheck.log would not exist. Or add an option, e.g. -c (compare) to datacheck.sh so that the comparsion is not done by default, e.g. if one sets up his own server. I never enter the three lines to Bash but only copy them. It would be no additional step for me. Nothing I could forget.
If you're in /home/michih/DataProcessing/siteupdate/python-teresco when you execute datacheck.sh, you can do diff /home/www/tm/logs/datacheck.log logs/datacheck.log to output the diff to Bash.
If you want to save the diff as a file, diff /home/www/tm/logs/datacheck.log logs/datacheck.log | tee newdatacheckentries.diff or somesuch.
My bad, my assumption above was incorrect; I see that you're in [michih@noreaster ~], and not /home/michih/DataProcessing/siteupdate/python-teresco.
The second outputs strange stuff but not what I need - the content of the file - and Permission denied to "my own" file:
[michih@noreaster ~]$ diff /home/www/tm/logs/datacheck.log | /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log
The problem here is the | character -- you're in effect trying to take a diff of a single file, and pipe the output of diff (which is itself receiving invalid input) to /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log, which is not an executable.
I guess using absolute hard-coded paths would be more foolproof: diff /home/www/tm/logs/datacheck.log /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log
or to save the diff as a file, diff /home/www/tm/logs/datacheck.log /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log | tee newdatacheckentries.diff etc.
I think I'll always copy these lines to Bash after every data check now.
It would be great to get it automatically after the "Data check successful" output one day.
Is there a chance to add a "NEW" or "DEL" for each line to indicate whether the line is new or deleted (and I should remove it from FPs)
It would be great to get it automatically after the "Data check successful" output one day.
This would be easy to add to datacheck.sh, etc. Ping @jteresco ?
Is there a chance to add a "NEW" or "DEL" for each line to indicate whether the line is new or deleted
The < character in the diff output indicates lines in the first argument to diff, /home/www/tm/logs/datacheck.log in the above example.
The > character indicates lines in the second argument to diff, /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log in the above example.
(and I should remove it from FPs)
FPs are excluded from datacheck.log, and thus won't appear in the diff.
If a datacheck error has changed, so that its datacheckfps.csv entry no longer flags & clears it from datacheck.log, it will appear in the new datacheck.log. The existing datacheck error will then appear in unmatchedfps.log.
If the underlying highway data has changed, so that a datacheck error is no longer flagged at all, the unmatched FP entry would be included in unmatchedfps.log.
New unmatched FPs could be revealed by a similar diff /home/www/tm/logs/unmatchedfps.log /home/michih/DataProcessing/siteupdate/python-teresco/logs/unmatchedfps.log
No objection to automatic diffs, but we'll just have to make sure files exist before trying a diff on them so the script won't crash, say, on a first run in a given account.
My personal perspective:
I'm not sure how much I'd use this, and am content to run diff manually when I want that info.
I don't really use datacheck.sh; I just run siteupdate.py itself with whatever arguments I want/need at the time.
I'll leave this to those who'd find it more useful, and/or know more about shell scripts than I do.
No objection to automatic diffs, but we'll just have to make sure files exist before trying a diff on them so the script won't crash, say, on a first run in a given account.
Having datacheck.sh diff $logdir/datacheck.log should not be a problem, as it will have just been created by the script.
For those running datacheck.sh on noreaster, /home/www/tm/logs/datacheck.log will work fine.
But for those running on another machine or home system, not so much.
A more foolproof solution, that can be added to the end of datacheck.sh:
I see the utility in this, too. List the deleted entries, to make sure that what's supposed to be deleted is deleted, and if it's ready to be removed from FPs.
IMO the most readable way to organize the old & new datachecks is all together, rather than in a line-by-line diff...
(If we don't want to bother with VISIBLE_DISTANCE, we could even add an option to filter them out, by tacking a | grep -v VISIBLE_DISTANCE onto the end of the diff command...)
We could either curl the canonical datacheck.log from the web twice, or wget it once & save to a temporary file, whatever's clever.
is up to date with the newest changes in TravelMapping:master.
If not?
Suppose I'm working with a branch of my own fork that hasn't had changes from master merged in in a very long time.
Since the last merge, Melvin has fixed all the Antarctica datacheck items or marked them FP.
I've still not merged these commits into my branch.
The canonical datacheck.log from travelmapping.net would not contain these fixed errors, but my outdated data would still produce them.
And thus they'd show up in the diff.
Not much to say about that, other than...
Best practice if you wanna run siteupdate.sh is to make sure that your personal repo is up-to-date with the latest changes from TravelMapping:master.
@michihdeu, I'm having trouble following your post...
I didn't update my user repository from master yesterday. I only committed my update user list file. On syncing, I got an error (debug with commands...). After updating, it worked. I have this issue quite often when I don't update although there is no reason at all - I only update michih.list which is never updated by anyone else on master.
There's always potential for merge conflicts with HighwayData updates -- either when merging master into our branches, or merging our branches into master. (At least in the latter case, those who are less comfortable with git can leave the conflict resolution to Jim or one of us or whoever.)
What I personally do to avoid the risk of having to delete and create my fork of the repo is, I keep my yakra:master branch clean, and only use it for merging in the latest changes from TravelMapping:master. I do my work in other branches, and make my pull requests from those. This way, if another branch gets FUBAR, I'll still have yakra:master to fall back on.
And we'd still need to sync to TravelMapping:master regularly to avoid seeing other people's errors. Unless... well, see below...
If not checking out branches, and just using datacheck.sh straight outta the box while working on your master branch, there's the possibility of having to deal with merge conflicts when syncing to TravelMapping:master.
However, this would probably be handled on GitHub (with the pull request/merge itself rather than pulling the already-merged data down to noreaster or wherever), which is at least a bit easier than the command line.
Most of this requires at least some level of comfort with git somewhere along the line...
Unless, Here's an idea...
This could help make the results more foolproof & noise-free for those (like me, actually) who don't sync their repos to master all that often.
Look for an optional myregions.cfg or tmregions.cfg or whatever we call it.
If found, use it to filter out the datacheck diffs resulting from others' regions. diff <(curl -s http://travelmapping.net/logs/datacheck.log) $logdir/datacheck.log | grep '^>' | sed 's~^> ~~' | grep -f <(cat myregions.cfg | tr -d '-' | tr '[:upper:]' '[:lower:]' | sed 's~\(.*\)~^\1.~')
If not found, either just suppress the output of datacheck diffs, or output it all, complete with the stuff from other people's regions, whichever we decide is more useful and/or less confusing for contributors.
Thanks for asking, I finally got it while anwering 😄
It was this pull request. I use Github Desktop on my PC and this was pressing the Update from TravelMapping/master button. I don't know what's happening backend when pressing the button.
I've updated my user list file five days later(!) - assuming about 5 updates to master meanwhile - and committed. Then, I've pressed the Sync button which updates my fork. I don't know if anything else happens backend.
Nevertheless, I got a sync error.
I had to press the Update from TravelMapping/masterbutton again and the sync worked afterwards. I could run datacheck;
cd ~/DataProcessing/siteupdate/python-teresco
git pull
sh datacheck.sh
to make sure that my user list file update was correct (no error in michih.log).
This procedure - for user repo - did sometimes work but I usually press the Update from TravelMapping/master button to avoid any trouble like the one described here.
What happened?
I've executed datacheck in-between. For this pull request to highway data, this and this. And the git pull command updates my fork(!!). That mean, my Sync would undo the changes to other user list files merged into master meanwhile.
Nope. git pull does not update User nor Hwy data of my noreaster folder from Travelmapping/master 😞
I've not yet read your post above that one, but...
I nosed around your home directory on noreaster. It looks like your repos there are both clones of michihdeu:master rather than TravelMapping:master:
You would have to merge tm:master into your own fork, then push that commit back to GitHub. However that process normally works with GitHub Desktop. (Sync button?)
Thanks. I don't get why my master is one commit ahead. I merged in three commits today the very same way. I don't think that @jteresco must merge anything additionally?
So your branch is ahead by one commit, one merge commit -- but all the highway data the repo contains, the WPTs & everything else, are identical.
This merge commit is not in TravelMapping:master yet, but will be when your next pull request is merged.
The one commit contains the data from panda's pull request I merged into travelmapping:master and then sync my fork..... It's not important to understand it. Don't waste your time on it....
^^^^^^ Weird. I still don't get it.
I almost thought for a second it had something to do with there being a more recent commit on you branch than other commits on tm:master -- like you said,
I've updated my user list file five days later(!) - assuming about 5 updates to master meanwhile
...But this shouldn't matter, if you're not changing anyone else's files and nobody else is changing your files. Git will (should?) be able to happily merge together all changes are long as there are no edits to the same line of the same file.
In fact, when pushing new edits to tm:master, your fork will always be ahead: If you merge tm:master into your branch first, there will be a merge commit, like described above.
Nevertheless, I got a sync error.
Remember anything about what the error message said?
git pull updates your fork/clone on noreaster. It pulls down the latest changes that are on GitHub. It won't change any of the data on GitHub itself.
That mean, my Sync would undo the changes to other user list files merged into master meanwhile.
Not quite, it's just that their changes are not in your repo yet -- they simply haven't been made in your fork. The changes will show up in your fork once you merge tm:master in.
So I truly don't understand what was happening to you.
Not knowing anything about the error message, I'll just chalk it up to bugs in git reporting merge conflicts when there were in fact none; I've seen this behavior before.
Remember anything about what the error message said?
nope. I was totally pissed off because I thought that I can risk to commit and sync without update from travelmapping.master first. The problem is, that the button is disabled. I need to wait about 5 minutes after starting the Git application. Then, it has recognized that there is newer data and I can manually update. It just takes a few seconds. The same story with each repository. And only the repo is checked which is selected. That means, I usually need to wait 5 minutes twice....
I still use an old version of the desktop application because I failed using the "new" one when I tried it first. 2.5 years ago.....
nope. I was totally pissed off because I thought that I can risk to commit and sync without update from travelmapping.master first.
Generally, you should be able to, especially with UserData where different people should not be editing the same files. Again... weird.
The problem is, that the button is disabled. I need to wait about 5 minutes after starting the Git application. Then, it has recognized that there is newer data and I can manually update. It just takes a few seconds. The same story with each repository. And only the repo is checked which is selected. That means, I usually need to wait 5 minutes twice....
Yuck. That sounds like a pain.
I still use an old version of the desktop application because I failed using the "new" one when I tried it first. 2.5 years ago.....
I don't have any personal experience with GitHub desktop. I've been using GitKraken since March; before that, the GItHub web interface.
Anyway...
Adding diff <(curl -s http://travelmapping.net/logs/datacheck.log) $logdir/datacheck.log | grep '^>' | sed 's~^> ~~' to datacheck, only to require a myregions.cfg to make it work properly, may be more trouble than it's worth.
Running the command manually is easier than it looks. If every time I log into noreaster, I type only
cd TravelMapping/DataProcessing/siteupdate/python-teresco/
./datacheck.sh
diff <(curl -s http://travelmapping.net/logs/datacheck.log) logs/datacheck.log | grep '^>' | sed 's~^> ~~'
exit
...I can cycle back these 4 previous commands by pressing the up arrow 4 times after logging in. I won't have to retype it out, or paste in the command from this thread. Does that work well enough for your purposes?
Is it easy to use? Self-explaining? Or a freek tool? 😉
Easy to use; it has a pretty self-explanatory GUI.
Some stuff is not supported though; for example I have to use the commandline if I want to move or rename a file. :( If you're already comfortable with GitHub Desktop, it's probably not worth the bother of getting familiar with a new program.
The status quo is not perfect but... ok
only to require a myregions.cfg to make it work properly, may be more trouble than it's worth.
I meant to expand on this more, but forgot. :(
I think it might be near the edge of people's abilities, and add another layer of confusion for most contributors.
First, there's how to create or get the file onto noreaster in the first place.
Then, editing it if picking up regions from, or turning regions over to, another contributor.
What are we gonna have people do, use emacs? One wrong keystroke and you're toast!
Rethinking this.
This idea of looking for new datacheck errors is probably the wrong approach.
Better to focus on filtering the data relevant to each contributor's regions, using a MyRegions file as mentioned upthread.
For contributors like @michihdeu & me who always quickly fix our errors or mark them FP, any errors visible will be new ones. :)
Activity
michihdeu commentedon Dec 25, 2018
Thanks. I think I got it. Comparing
/home/<user>/DataProcessing/siteupdate/python-teresco/logs/datacheck.logto/home/www/tm/logs/datacheck.log.The first directory is relative to
datacheck.shand the 2nd one would need an absolute hard-coded path. I don't see any issue as long as you catch an error when/home/www/tm/logs/datacheck.logwould not exist. Or add an option, e.g.-c(compare) todatacheck.shso that the comparsion is not done by default, e.g. if one sets up his own server. I never enter the three lines to Bash but only copy them. It would be no additional step for me. Nothing I could forget.yakra commentedon Dec 28, 2018
Why did I go straight to fpcull when a simple DIFF will do? :P
yakra commentedon Dec 28, 2018
If you're in
/home/michih/DataProcessing/siteupdate/python-terescowhen you execute datacheck.sh, you can dodiff /home/www/tm/logs/datacheck.log logs/datacheck.logto output the diff to Bash.If you want to save the diff as a file,
diff /home/www/tm/logs/datacheck.log logs/datacheck.log | tee newdatacheckentries.diffor somesuch.michihdeu commentedon Dec 28, 2018
The first doesn't work: No such file or directory
The second outputs strange stuff but not what I need - the content of the file - and Permission denied to "my own" file:
I've deleted the first "ab" lines of datacheck.log to have a diff.
yakra commentedon Dec 28, 2018
My bad, my assumption above was incorrect; I see that you're in
[michih@noreaster ~], and not/home/michih/DataProcessing/siteupdate/python-teresco.[michih@noreaster ~]$ diff /home/www/tm/logs/datacheck.log | /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.logThe problem here is the
|character -- you're in effect trying to take a diff of a single file, and pipe the output ofdiff(which is itself receiving invalid input) to/home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log, which is not an executable.I guess using absolute hard-coded paths would be more foolproof:
diff /home/www/tm/logs/datacheck.log /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.logor to save the diff as a file,
diff /home/www/tm/logs/datacheck.log /home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.log | tee newdatacheckentries.diffetc.michihdeu commentedon Dec 28, 2018
It works 😃
I think I'll always copy these lines to Bash after every data check now.
It would be great to get it automatically after the "Data check successful" output one day.
Is there a chance to add a "NEW" or "DEL" for each line to indicate whether the line is new or deleted (and I should remove it from FPs)
yakra commentedon Dec 28, 2018
This would be easy to add to datacheck.sh, etc. Ping @jteresco ?
<character in the diff output indicates lines in the first argument to diff,/home/www/tm/logs/datacheck.login the above example.>character indicates lines in the second argument to diff,/home/michih/DataProcessing/siteupdate/python-teresco/logs/datacheck.login the above example.FPs are excluded from datacheck.log, and thus won't appear in the diff.
diff /home/www/tm/logs/unmatchedfps.log /home/michih/DataProcessing/siteupdate/python-teresco/logs/unmatchedfps.logmichihdeu commentedon Dec 28, 2018
">"/"<": Thanks, I had only ">" but I see it now 👍
New unmatched FPs diff would be great too.
jteresco commentedon Dec 28, 2018
No objection to automatic diffs, but we'll just have to make sure files exist before trying a diff on them so the script won't crash, say, on a first run in a given account.
yakra commentedon Dec 29, 2018
My personal perspective:
I'm not sure how much I'd use this, and am content to run diff manually when I want that info.
I don't really use datacheck.sh; I just run siteupdate.py itself with whatever arguments I want/need at the time.
I'll leave this to those who'd find it more useful, and/or know more about shell scripts than I do.
yakra commentedon Nov 26, 2019
@michihdeu write:
Easy!
@jteresco wrote:
Having datacheck.sh diff
$logdir/datacheck.logshould not be a problem, as it will have just been created by the script.For those running datacheck.sh on noreaster,
/home/www/tm/logs/datacheck.logwill work fine.But for those running on another machine or home system, not so much.
A more foolproof solution, that can be added to the end of datacheck.sh:
Note though, that this only lists the newly added entries.
@michihdeu write:
I see the utility in this, too. List the deleted entries, to make sure that what's supposed to be deleted is deleted, and if it's ready to be removed from FPs.
IMO the most readable way to organize the old & new datachecks is all together, rather than in a line-by-line diff...
(If we don't want to bother with VISIBLE_DISTANCE, we could even add an option to filter them out, by tacking a
| grep -v VISIBLE_DISTANCEonto the end of the diff command...)We could either
curlthe canonical datacheck.log from the web twice, orwgetit once & save to a temporary file, whatever's clever.@michihdeu write:
This can also be done similarly.
A caveat:
This all assumes that your individual branch of the repo that gets pulled down at the start of the process
DataProcessing/siteupdate/python-teresco/datacheck.sh
Line 30 in 6e98c78
is up to date with the newest changes in TravelMapping:master.
If not?
Not much to say about that, other than...
Best practice if you wanna run siteupdate.sh is to make sure that your personal repo is up-to-date with the latest changes from TravelMapping:master.
4 remaining items
yakra commentedon Dec 21, 2019
@michihdeu, I'm having trouble following your post...
I'm unsure what was happening here (Did you have trouble with TravelMapping/UserData@b68a6a2, TravelMapping/UserData@2c25955 or TravelMapping/UserData@2bf50af?), but some months back I was experiencing errors about merge conflicts for unchanged files. Upgrading my git version cured this; maybe upgrading git could help you too?
There's always potential for merge conflicts with HighwayData updates -- either when merging master into our branches, or merging our branches into master. (At least in the latter case, those who are less comfortable with git can leave the conflict resolution to Jim or one of us or whoever.)
What I personally do to avoid the risk of having to delete and create my fork of the repo is, I keep my
yakra:masterbranch clean, and only use it for merging in the latest changes fromTravelMapping:master. I do my work in other branches, and make my pull requests from those. This way, if another branch gets FUBAR, I'll still haveyakra:masterto fall back on.TravelMapping:masterregularly to avoid seeing other people's errors. Unless... well, see below...TravelMapping:master.Most of this requires at least some level of comfort with git somewhere along the line...
Unless, Here's an idea...
This could help make the results more foolproof & noise-free for those (like me, actually) who don't sync their repos to master all that often.
Look for an optional
myregions.cfgortmregions.cfgor whatever we call it.diff <(curl -s http://travelmapping.net/logs/datacheck.log) $logdir/datacheck.log | grep '^>' | sed 's~^> ~~' | grep -f <(cat myregions.cfg | tr -d '-' | tr '[:upper:]' '[:lower:]' | sed 's~\(.*\)~^\1.~')michihdeu commentedon Dec 22, 2019
Thanks for asking, I finally got it while anwering 😄
It was this pull request. I use Github Desktop on my PC and this was pressing the
Update from TravelMapping/masterbutton. I don't know what's happening backend when pressing the button.I've updated my user list file five days later(!) - assuming about 5 updates to master meanwhile - and committed. Then, I've pressed the
Syncbutton which updates my fork. I don't know if anything else happens backend.Nevertheless, I got a sync error.
I had to press the
Update from TravelMapping/masterbutton again and the sync worked afterwards. I could run datacheck;to make sure that my user list file update was correct (no error in
michih.log).This procedure - for user repo - did sometimes work but I usually press the
Update from TravelMapping/masterbutton to avoid any trouble like the one described here.What happened?
I've executed datacheck in-between. For this pull request to highway data, this and this. And the
git pullcommand updates my fork(!!). That mean, mySyncwould undo the changes to other user list files merged into master meanwhile.Thanks for asking
👍 😄 😄
It's all off topic though 😆
michihdeu commentedon Dec 23, 2019
Nope.
git pulldoes not update User nor Hwy data of my noreaster folder fromTravelmapping/master😞yakra commentedon Dec 23, 2019
I've not yet read your post above that one, but...
I nosed around your home directory on noreaster. It looks like your repos there are both clones of
michihdeu:masterrather thanTravelMapping:master:That's the most recent commit in michihdeu:master right now. It was merged into TravelMapping:master in a more recent commit.
That's the most recent commit in michihdeu:master right now, which is ahead of TravelMapping:master.
You would have to merge tm:master into your own fork, then push that commit back to GitHub. However that process normally works with GitHub Desktop. (
Syncbutton?)michihdeu commentedon Dec 23, 2019
Thanks. I don't get why my master is one commit ahead. I merged in three commits today the very same way. I don't think that @jteresco must merge anything additionally?
yakra commentedon Dec 23, 2019
https://github.com/michihdeu/HighwayData/ says " This branch is 2 commits ahead of TravelMapping:master", but I think that's wrong:
https://github.com/michihdeu/HighwayData/commits only shows one commit,
Merge remote-tracking branch 'refs/remotes/TravelMapping/master'So your branch is ahead by one commit, one merge commit -- but all the highway data the repo contains, the WPTs & everything else, are identical.
This merge commit is not in TravelMapping:master yet, but will be when your next pull request is merged.
michihdeu commentedon Dec 23, 2019
The one commit contains the data from panda's pull request I merged into travelmapping:master and then sync my fork..... It's not important to understand it. Don't waste your time on it....
yakra commentedon Dec 23, 2019
^^^^^^ Weird. I still don't get it.
I almost thought for a second it had something to do with there being a more recent commit on you branch than other commits on tm:master -- like you said,
...But this shouldn't matter, if you're not changing anyone else's files and nobody else is changing your files. Git will (should?) be able to happily merge together all changes are long as there are no edits to the same line of the same file.
In fact, when pushing new edits to tm:master, your fork will always be ahead: If you merge tm:master into your branch first, there will be a merge commit, like described above.
Remember anything about what the error message said?
git pullupdates your fork/clone on noreaster. It pulls down the latest changes that are on GitHub. It won't change any of the data on GitHub itself.Not quite, it's just that their changes are not in your repo yet -- they simply haven't been made in your fork. The changes will show up in your fork once you merge tm:master in.
So I truly don't understand what was happening to you.
Not knowing anything about the error message, I'll just chalk it up to bugs in git reporting merge conflicts when there were in fact none; I've seen this behavior before.
yakra commentedon Dec 23, 2019
😆
michihdeu commentedon Dec 23, 2019
nope. I was totally pissed off because I thought that I can risk to commit and sync without
update from travelmapping.masterfirst. The problem is, that the button is disabled. I need to wait about 5 minutes after starting the Git application. Then, it has recognized that there is newer data and I can manually update. It just takes a few seconds. The same story with each repository. And only the repo is checked which is selected. That means, I usually need to wait 5 minutes twice....I still use an old version of the desktop application because I failed using the "new" one when I tried it first. 2.5 years ago.....
yakra commentedon Dec 23, 2019
Generally, you should be able to, especially with UserData where different people should not be editing the same files. Again... weird.
Yuck. That sounds like a pain.
I don't have any personal experience with GitHub desktop. I've been using GitKraken since March; before that, the GItHub web interface.
Anyway...
Adding
diff <(curl -s http://travelmapping.net/logs/datacheck.log) $logdir/datacheck.log | grep '^>' | sed 's~^> ~~'to datacheck, only to require amyregions.cfgto make it work properly, may be more trouble than it's worth.Running the command manually is easier than it looks. If every time I log into noreaster, I type only
...I can cycle back these 4 previous commands by pressing the up arrow 4 times after logging in. I won't have to retype it out, or paste in the command from this thread. Does that work well enough for your purposes?
michihdeu commentedon Dec 23, 2019
Is it easy to use? Self-explaining? Or a freek tool? 😉
The status quo is not perfect but... ok
yakra commentedon Dec 28, 2019
Easy to use; it has a pretty self-explanatory GUI.
Some stuff is not supported though; for example I have to use the commandline if I want to move or rename a file. :( If you're already comfortable with GitHub Desktop, it's probably not worth the bother of getting familiar with a new program.
I meant to expand on this more, but forgot. :(
I think it might be near the edge of people's abilities, and add another layer of confusion for most contributors.
First, there's how to create or get the file onto noreaster in the first place.
Then, editing it if picking up regions from, or turning regions over to, another contributor.
What are we gonna have people do, use emacs? One wrong keystroke and you're toast!
yakra commentedon Oct 12, 2022
Rethinking this.
This idea of looking for new datacheck errors is probably the wrong approach.
Better to focus on filtering the data relevant to each contributor's regions, using a
MyRegionsfile as mentioned upthread.For contributors like @michihdeu & me who always quickly fix our errors or mark them FP, any errors visible will be new ones. :)
https://forum.travelmapping.net/index.php?topic=4553.msg29376#msg29376
michihdeu commentedon Oct 13, 2022
True.