fedora-infra / asknot-ng Goto Github PK
View Code? Open in Web Editor NEWWhat can I do for $ORGANIZATION?
Home Page: http://whatcanidoforfedora.org
License: GNU General Public License v3.0
What can I do for $ORGANIZATION?
Home Page: http://whatcanidoforfedora.org
License: GNU General Public License v3.0
We'd like to ship the whatcanidoforgnome.org website with openshift too and the best thing to do is probably to also use this repository and mane the choice of theme and question set dependent on environment variables defined in the OPenShift environment.
I'll probably look into that this weekend, if anyone has a bit more openShift knowledge and knows how we can do this best I'd of course appreciate a comment!
(Related: #53)
I am not quite sure, that I should report it here, but the TSL cert is wrong at the site, as it is only valid for *.rhcloud.com, rhcloud.com
.
Uhm, I introduced the fedora background image, not sure how that one's licensed, maybe it needs to be mentioned? I hate licensing.
On the bottom of the page http://whatcanidoforgnome.org/ , asknot-ng does not link it to https://github.com/fedora-infra/asknot-ng. It just redirects it to http://whatcanidoforgnome.org/
It only works for "open in a new tab".
Problem I found, and fix it:
Regards.,
Monserrat:
1.- https://fedoraproject.org/wiki/Montserrat_Fonts
2.- https://github.com/JulietaUla/Montserrat/
https://src.fedoraproject.org/rpms/julietaula-montserrat-fonts
OpenSans:
1.- https://fedoraproject.org/wiki/Open_Sans_fonts
2.- https://fonts.google.com/specimen/Open+Sans
https://src.fedoraproject.org/rpms/open-sans-fonts
Regards.,
I successfull build but I don't know how to run?
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/asknot latest b08d90b615d7 28 minutes ago 660 MB
Is there any additional parameters that I've had to use:
podman run --name=asknot -d -p 8080:80 localhost/asknot
In my browser box
whacanidoforfedora.org:8080
but I can't connect....
Is there something I'm missing? or Doing in a inappropiate way?
kind Regards.,
https://whatcanidoforfedora.org/de/
Error: Syntax error, unrecognized expression: #das-webseiten-team. jquery-2.1.3.min.js:2:12467
jQuery 7
hashSelect https://whatcanidoforfedora.org/de/static/js/site.js:10
each jQuery
hashSelect https://whatcanidoforfedora.org/de/static/js/site.js:9
<anonymous> https://whatcanidoforfedora.org/de/static/js/site.js:34
jQuery 4
this repo seems to be generic and usable for other orgs, so for a new org a new theme and set of questions can be easily created. It would make sense if there would be a subfolder for translations for each org too.
Hi,
on getfedora.org we have a option to change the language on "America" for "português do Brasil" that redirects to ".../pt_BR/" translated version.
On whatcanidoforfedora.org we don't have "português do Brasil" option anywhere.
Also can you make an autodection of the language like getfedora.org?
Thanks and sorry to bother you.
Hello, the Fedora project migrates its translation platform to Weblate [1].
This tool directly interact with your git repository, and requires us to know:
Please note:
[1] https://communityblog.fedoraproject.org/fedora-localization-platform-migrates-to-weblate/
[2] https://docs.weblate.org/en/latest/admin/continuous.html#avoiding-merge-conflicts
[3] https://docs.weblate.org/en/latest/user/checks.html#translation-checks
Hi,
I've started work on openSUSE/asknot-ng, and before I needlessly PR I'm curious if you would accept changes like these into upstream? We would most likely want to use our own weblate instance as well (l10n.opensuse.org). I'm not sure how well double weblate integration in one repository works tbh, but maybe it's worth testing.
As Tagger has been retired, it should no longer be suggested as a project that people can work on.
Hi,
Apologies for slight miss use of GitHub issue, though I couldn't see any contact detail. Happy to be redirected else where.
Just found this project and it looks very cool. I like how you ask people what they are interested, rather than telling them the things they could do.
Do you have any stats (or gut feel) on how well whatcanidoforfedora.org has been received and if it's had a positive effect?
I'm looking at Ansible's Contributor Experience, with a particular focus on reviews and Working Groups (SIGs) and wondering what we can learn from the Fedora Project.
gundalow
on Freenode
Arriving to "how about working on Gnome", clicking on "tell me more" has a broken link
https://www.gnome.org/gnome-3/source/
On gnome website it's a 404 not found page. What is the link supposed to point to? Maybe to the get involved page at:
web service restart request
As we adjust the application to work/look better in mobile ( see issue: #22 ), would possibly like to further mobile support by adding gesture events with http://hammerjs.github.io/ ?
Example: Swipe Left to quickly go back, right to see the next option, up to go down a level and learn more, or swipe down to go back to the top level if possible.
There is an underline under the Home's button.
(Because of description, I added red color drawing to the screenshot.)
I guessed that the line is displaying that currently status of this page.
But, though I clicked "Totaly" etc and the status of page changed from Home to another , the underline remains under the "Home" button.
Or if the underline is to tell that there is a button above this line,
at this case, no line under the "Get Fedora" button is contradiction.
First, the standard disclaimer: I am not a lawyer, and this does not constitute legal or financial advice.
Generally, IMHO, it is a good idea to use FSF or OSI Approved Licenses (which can be found here https://www.gnu.org/licenses/licenses.html and here http://opensource.org/licenses/category)
The Free Software Foundation has a useful guide for choosing a license: https://www.gnu.org/licenses/license-recommendations.html
I often reference the Software Freedom Law Center's Legal Primer for both practical and academic purposes (highly recommended): https://www.softwarefreedom.org/resources/2008/foss-primer.html#x1-60002.2
https://tldrlegal.com/ is quite a useful resource for comparing the various FOSS licenses out there once you have some context
To get ahold of actual lawyers/advisors who help FOSS projects, you can reach out to the FSF, SFLC, and OSI at:
[email protected]
[email protected]
[email protected]
Hope this helps, and happy hacking!
asknot-ng is currently using travis-ci.org as CI, which is no longer supported. It would be better to migrate to Zuul, which has it's own fedora instance.
Here is the wiki page with guide, how to do it.
The changes are the following:
1.- Change favicon with the new one->
2.- Also occurs with the new fedora logo and fedora logo inverted -> https://src.fedoraproject.org/rpms/fedora-logos.
According to this issue in fedora design team -> https://pagure.io/fedora-design/spot-the-old-logo/issue/7
3.- Remove some Directories which is not necesary at all, bring in some way from the original project:
questions/coala.yml
questions/gnome.yml
static/themes/coala/
static/themes/default/
static/themes/gnome/
Regards.,
takes too long to load on whatcanidoforfedora.org and is an unpleasant experience.
What will be used for localization? I did the first implementation work on the original project for using webL10n javascript library. I could help adding it here too.
I tried to extract new pot with updated strings using the guide in README.md.
The extractor fails with following:
running extract_messages
extracting messages from questions/coala.yml
Traceback (most recent call last):
File "/var/home/zlopez/git/asknot-ng/setup.py", line 5, in <module>
setup(
File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/frontend.py", line 481, in run
for filename, lineno, message, comments, context in extracted:
File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 149, in extract_from_dir
for message_tuple in check_and_call_extract_file(
File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 207, in check_and_call_extract_file
for message_tuple in extract_from_file(
File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 243, in extract_from_file
return list(extract(method, fileobj, keywords, comment_tags,
File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 320, in extract
raise ValueError('Unknown extraction method %r' % method)
ValueError: Unknown extraction method 'asknot'
I tried to look at the issue, but I wasn't able to understand how the entry_points
for babel
actually works.
The README has a link to whatcanidoformozilla.org. I don't believe that domain points to the same project it did when the link was added. We should probably remove the link or update it to point to a current website.
See https://github.com/fedora-infra/asknot-ng/blob/develop/questions/coala.yml#L31 and https://github.com/fedora-infra/asknot-ng/blob/develop/questions/coala.yml#L39 . I'd prefer just setting link everywhere consistently.
Currently (at least at whatcanidoforcoala.org) after the last option ends, the first option loops back. It would be great if we could have a custom page (so that we can redirect the user to the IRC/gitter page for more questions). Or if this feature already exists, how could we implement this?
At "Fedora Infrastructure Apps" list of this asknot, the lower side of list is out of the screen. Therefore it can not be selected.
If I disable the web-browser menu-bar, then the lower side of list is inside this screen, therefore it can be selected.
But if I enable the web-browser menu-bar, then the lower side of list is out of the screen, therefore it cannot be selected.
just use title: Visuals!
and the whole page will render incorrectly, will provide more extensive information in case this doesn't suffice to reproduce.
@ralphbean @stickster thoughts?
If I understand correctly, in the https://github.com/fedora-infra/asknot-ng/tree/develop/questions folder:
Translating gnome.yml and coala.yml is worth translating only if published, so I suggest to remove it from pot file.
Second question, what is the delay after merging new translations? This was merged two days ago: #114 but I can't see the changes in the website. Do you have to manually trigger a deployment?
= bug description =
The "i'm interested" and "not interested" (green and pink buttons) move around as you're clicking.
= bug analysis =
The buttons change size so they jump around.
= fix recommendation =
It would be good if the left button was right aligned to the center of its parent and the right button was left aligned (so the gap between them never moves)
Would be nice to be able to compile a question theme combination with just one command including translations. I see no need for copying five dumb commands again and again when a single python script with a few params could do the job.
If i'm quickly cycling through the categories and accidentally click not interested on one that i want to dive into, i have to cycle all the way through them again.
I think a slight improvement to the user experience would be to put back and forward triangles on the left and right side (respectively) of the inset category description
Fedora's Asknot Instance still uses $ORG in description
We don't really want that for e.g. coala, because it refers to english pages anyways sooner or later.
JSON will allow us to have more flexibility with strings and data types, as well as the freedom of having long strings without worrying about YAML issues.
JSON should work pretty well with Python, and I can probably write a YAML -> JSON script to convert our current questions.
Hi, can you please update regularly content from Zanata like other Fedora Websites ?
As this website strings are very context related, it's easier for us to see progress and check the correctness of translation.
In the meanwhile, if this task isn't trivial, can you manually push all po file from every languages ? I wrote an email to "trans" ml, and we have now 2500 new words translated.
Thanks a lot for your help !
Traceback (most recent call last):
File "./asknot-ng.py", line 161, in <module>
main(**args)
File "./asknot-ng.py", line 128, in main
work(_=_, lang=lang, languages=languages, **kw)
File "./asknot-ng.py", line 44, in work
data = load_yaml(question_filename)
File "/home/lasse/prog/asknot-ng/asknot_lib.py", line 47, in load_yaml
validate_yaml(data, basedir)
File "/home/lasse/prog/asknot-ng/asknot_lib.py", line 59, in validate_yaml
validate_tree(data['tree'], basedir)
File "/home/lasse/prog/asknot-ng/asknot_lib.py", line 71, in validate_tree
if isinstance(node['children'], basestring):
NameError: name 'basestring' is not defined
looks reasonable from code...
The fedmenu project is not really maintained anymore and will be soon archived. We should remove fedmenu from this application.
https://github.com/fedora-infra/asknot-ng/search?q=fedmenu&unscoped_q=fedmenu
When I upload the whole build directory to my server and redirect the URL to en/index.html weird things happen and it appears to not be able to find the bootstrap theme until I revert 81f9757 .
We're trying to get newbies to come to the fedora join channels which were set up for this very purpose. Having it on whatcanidoforfedora would really help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.