-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing .tch file '/da5_fast/f2cFullU.13.tch', also no python3 on da5 #2
Comments
f2c random lookup is little used as typically one greps for right file patterns in zcat /da?_data/basemaps/gz/f2c*.s (or c2f) output. As such no update since version T was done. If you have a use case for f2c random lookup, please let me know and might create version U. RedHat has some suggestions for py3, but I am not sure it works, so better use da4:
|
The problem is that example code for Below there is the example in question (with >>> from oscar import File
>>> commits = File('minicms/templatetags/minicms_tags.py').commit_shas
>>> len(commits) > 0
True But it does not work:
Should I file error against oscar, in https://github.com/ssc-oscar/oscar.py ? I have installed current version of oscar from the repository (with 4 commits since 2.2.1) to my user account by running the following command in the oscar.py repository:
I have checked and I am running this new version. But I still get the same error as described above. |
See the file map issue: f2c is available for version T only. Do you really need f2c? |
So ultimately this is to be considered a bug in oscar.py? I need f2c to be able to, for example, find all repositories that contain the I'd like to use Python API via oscar module, and do not worry about details of the implementation. |
You may want to get not just requirements.txt in the root folder, or, perhaps also Requirements.txt or As such zcat /da?_data/basemaps/gz/c2fFullU*.s | grep -i 'requirements.' may be a more accurate way Perhaps you have another use case for f2c? |
Also, it might be interesting to examine changes to |
Perhaps you misunderstood: I completely agree that it makes sense to investigate certain classes of files. What I am trying to say that f2c is not a reliable way to do that as filenames may be spelled in different ways and be in different folders. |
Yes (somewhat) and no. With files that are mainly to be processed by automation tools such as dependency management systems, filename must be spelled in specific way - for example for pip it must be Usually those files are also put in specific directory (root or subdirectory with a specific name), but for projects composed of many individual independent modules (which I assume is rather rare). Anyway, is this problem to be considered oscar.py bug, or lack of necessary feature? |
The use cases you describe all argue against the key-value storage approach as value for the keys of interest would be extremely large and could not be stored in the similar way as for the uncommon file names. It would also cause major problems for both server trying to return the value and the client trying to receive it (e.g., README.md). Unless some legitimate use cases materialize, it suggests that File class and f2any random lookups should be removed from oscar.py |
I don't quite understand your objections, and why you want to remove functionality from oscar.py (and limit areas of the research). First, one can also find purpose for finding rarely encountered files, like Second, I would assume that those As to how oscar.py should in my opinion be improved:
Let's move this discussion to ssc-oscar/oscar.py#50 P.S. As for the problem of generating excessive load on the server, isn't it what job schedulers (also known as workload managers) are for? |
When trying to find all commits that changed given file (and then all projects that included given file at some point), I have tried to follow the example from
oscar.py
documentation: https://ssc-oscar.github.io/oscar.py/Running the script with
python3
on 'da0' gave an error, and a suggestion about running it on 'da4', namely:But when logging in to 'da4', and re-running the script, I got the following error:
I have checked that I am using oscar version 2.2.1, which is the newest release.
I have tried to log in onto 'da5', based on the pathname of this non-existent file, but there is no python3 installed on 'da5':
The text was updated successfully, but these errors were encountered: