profile
viewpoint
Nasir Hussain nasirhm Pakistan nasirhussain.tech 15 Years Old • Fedora • Sastaticket • Gopher & Pythonista • FOSS Enthusiast • Peace • He/Him

fedora-infra/mote 11

Python Flask project used to aggregate and distribute IRC meeting minutes and logs for the Fedora Project

nasirhm/Android-DevCamp-DSCIBA 2

DSC IBA's Devcamp Android Projects

nasirhm/ansible-playbook-tensorflow 2

Ansble Playbook to Install TensorFlow

nasirhm/Ansible-Roles-Heartbleed 2

Ansible Role to Fix Heart Bleed Valnurablity

nasirhm/Ansible-Vault 2

Ansible Vault

nasirhm/100-days-of-code 1

Fork this template for the 100 days journal - to keep yourself accountable (multiple languages available)

startedvercel/next.js

started time in 18 hours

startedstoryblok/talk-from-zero-to-nextjs-hero

started time in 19 hours

PR opened fedora-infra/mote

Reviewers
Version bumped flask to 1.1.2

Version Bumping from flask 0.10.1 to 1.1.2 to make sure to work on the latest framework and use it's functionalities.

Ticket: https://github.com/fedora-infra/mote/issues/138

cc: @HiraTariq-01

+5 -5

0 comment

2 changed files

pr created time in 21 hours

create barnchnasirhm/mote

branch : version_bumping_flask

created branch time in 21 hours

fork nasirhm/cpu

cpu command in go that uses an external 9p server or a builtin 9p server

fork in 2 days

PullRequestReviewEvent

startedtwitter/metrics

started time in 2 days

startedlizrice/ebpf-beginners

started time in 2 days

startedu-root/cpu

started time in 2 days

startedfedora-infra/pyramid_fas_openid

started time in 2 days

startedkubernetes/minikube

started time in 2 days

startedhyangah/proposal

started time in 2 days

startedstaalmannen/lua

started time in 3 days

startedreleaseworks/hellonode

started time in 4 days

startedpearofducks/ansible-vim

started time in 4 days

startedt0xic0der/spectrum

started time in 4 days

startedFiloSottile/age

started time in 5 days

push eventnasirhm/mote

Akashdeep Dhar

commit sha ac4b5b1e22d7a721d6ccbb85fc5a8de5dcf6ec71

Containerization (#135) * Packaged all dependencies in Python 3.8 reference Only Python > 3.8 are completely compatible * Added frozen dependency list * Removed venv files Signed-off-by: t0xic0der <akashdeep.dhar@gmail.com> * Added pipenv relative files Signed-off-by: t0xic0der <akashdeep.dhar@gmail.com> * Updated command to install dependencies Removed requirements.txt and requirements_venv.txt Signed-off-by: t0xic0der <akashdeep.dhar@gmail.com> * Update .travis.yml Co-authored-by: J.W.F. (he/him) <4721034+jwflory@users.noreply.github.com> * :arrow_up: :wrench: Usage of python3-openid - Removal of python-openid - and addition of a Python3 SDK for OpenID - Fixes CI * Used "pipenv install" over dep lock Signed-off-by: t0xic0der <akashdeep.dhar@gmail.com> * Added bionic config and job section Signed-off-by: t0xic0der <akashdeep.dhar@gmail.com> * Facilitated conflict resolution * Added requirements.txt Signed-off-by: t0xic0der <akashdeep.dhar@gmail.com> Co-authored-by: J.W.F. (he/him) <4721034+jwflory@users.noreply.github.com> Co-authored-by: nasirhm <nasirhussainm14@gmail.com>

view details

Nasir Hussain

commit sha 69c4b0ab5fd1d7f5899077b48783bc72a4d6f431

Documentation to run møte on Py3 (#141) * :page_facing_up: Documentation to run møte on Py3 Modified Documentation for Python 3 Usage of Pipenv to facilitate with the creation of Virtualenv and installation of packages inside it. * :wrench: :memo: Links and Instructions simplified. - Addition of `pipenv shell` - Addition of instructions to install pipenv in Fedora and link to Pipenv's docs Co-authored-by: J.W.F. (he/him) <4721034+jwflory@users.noreply.github.com>

view details

antriksh123

commit sha b01c4e1d9f59fa8812c4f0f771405476c18f3209

Updated footer in base.html (#133) updated the footer so that it shows in mobile view Co-authored-by: J.W.F. (he/him) <4721034+jwflory@users.noreply.github.com>

view details

push time in 5 days

startedchaos-mesh/rfcs

started time in 6 days

startedcoreos/bootupd

started time in 6 days

pull request commentfedora-infra/mote

Updated footer in base.html

I know that @nasirhm and that is why i removed the class. But which theme does it use from bootswatch because i myself use bootswatch.

I'm not sure on that one but we're working on updating the UI.

antriksh123

comment created time in 6 days

PullRequestReviewEvent
PullRequestReviewEvent

fork nasirhm/mage

a Make/rake-like dev tool using Go

https://magefile.org

fork in 6 days

startedmagefile/mage

started time in 6 days

startedyohamta/godanmaku

started time in 6 days

PullRequestReviewEvent

Pull request review commentfedora-infra/mote

Documentation to run møte on Py3

 møte organises and serves meetings as a drop-in replacement, without needing an ### Using møte  Dependencies:- - `memcached` (`sudo dnf install memcached`)- - Python 3.8.X- - Pipenv+ - [`memcached`](https://memcached.org) (`sudo dnf install memcached`)+ - Python 3.8.x+ - [Pipenv](https://docs.pipenv.org/) (`sudo dnf install pipenv`) -Installation:- - `pipenv install` will create a new virtual environment and install the requirements. `+Virtual Environment setup:+ - `pipenv install` will create a new virtual environment and install the requirements.+ - `pipenv shell` will activate Python's virtual environement's shell.

@t0xic0der Thanks for the review, personally I feel, It's pretty intuitive with unordered lists to follow it step by step and the list representation seems simple as points, Do you think adding an ordered list would make it more simple ?

nasirhm

comment created time in 7 days

PullRequestReviewEvent

push eventnasirhm/fedora-coreos-tracker

Joe Doss

commit sha c59d1ae5c226202dd9cd27256192733ddcb2eeab

Add info to Working Group Members section.

view details

Joe Doss

commit sha 6ae14fae92a88e82c3246f8333cd7b204cf5d17c

Update Twitter handle and URL.

view details

Joe Doss

commit sha 7fd716094a5e26144fe3703ba0642a804d095bf9

Fix URL to meeting-people.txt

view details

Dusty Mabe

commit sha 317ebf9ddc686485330786e46882c9d661ac272a

Merge pull request #627 from jdoss/README_Updates Readme updates

view details

Colin Walters

commit sha f15e48ad9fe2072514743107c3dea052c8e0392a

Document aleph version

view details

Colin Walters

commit sha 66d7d00bedd9d5eabc7287b9577f443dcefb7c04

Merge pull request #630 from coreos/doc-aleph Document aleph version

view details

push time in 7 days

Pull request review commentfedora-infra/mote

Documentation to run møte on Py3

 møte organises and serves meetings as a drop-in replacement, without needing an ### Using møte  Dependencies:- - Optional: `memcached` (`sudo dnf install memcached`)- - Python 2.7.x+ - `memcached` (`sudo dnf install memcached`)+ - Python 3.8.X+ - Pipenv  Installation:- - Optional: create virtual environment- - `pip install -r requirements.txt`- - Install using `python setup.py develop`+ - `pipenv install` will create a new virtual environment and install the requirements. `

Fixed: https://github.com/fedora-infra/mote/pull/141/commits/8bfdd02674b734fa256248bf2429a00fddf28a11

nasirhm

comment created time in 7 days

PullRequestReviewEvent

Pull request review commentfedora-infra/mote

Documentation to run møte on Py3

 møte organises and serves meetings as a drop-in replacement, without needing an ### Using møte  Dependencies:- - Optional: `memcached` (`sudo dnf install memcached`)- - Python 2.7.x+ - `memcached` (`sudo dnf install memcached`)+ - Python 3.8.X+ - Pipenv

Fixed: https://github.com/fedora-infra/mote/pull/141/commits/8bfdd02674b734fa256248bf2429a00fddf28a11

nasirhm

comment created time in 7 days

PullRequestReviewEvent

push eventnasirhm/mote

nasirhm

commit sha 8bfdd02674b734fa256248bf2429a00fddf28a11

:wrench: :memo: Links and Instructions simplified. - Addition of `pipenv shell` - Addition of instructions to install pipenv in Fedora and link to Pipenv's docs

view details

push time in 7 days

Pull request review commentfedora-infra/mote

Documentation to run møte on Py3

 møte organises and serves meetings as a drop-in replacement, without needing an ### Using møte  Dependencies:- - Optional: `memcached` (`sudo dnf install memcached`)- - Python 2.7.x+ - `memcached` (`sudo dnf install memcached`)+ - Python 3.8.X+ - Pipenv  Installation:- - Optional: create virtual environment- - `pip install -r requirements.txt`- - Install using `python setup.py develop`+ - `pipenv install` will create a new virtual environment and install the requirements. `  Running møte:+ - Start `memcached` by typing `memcached` in the terminal and pressing Return (Enter) key.  - Edit [config.py](./files/config.py) with necessary information and place the `config.py` in [`mote/`](./mote)+ - Modify the copied `config.py` to use memcached by setting `use_memcached = TRUE`+   - You can do it by running the following command in command line too: `sed -i '/use_memcached = / s/False/True/' mote/config.py`+ - Enter the Pipenv's newly created virtualenv's shell with `pipenv shell`  - Run `python runmote.py` +**Note :** Make sure `memcached` is running in the background.

Here's an issue to keep track of it: https://github.com/fedora-infra/mote/issues/142

nasirhm

comment created time in 7 days

PullRequestReviewEvent

issue openedfedora-infra/mote

Creation of Container Image

While migrating mote app to Python 3.

For setting up the development environment, You have to install memcached and pipenv in your host machine.

It would be a good idea to containerize the app to run inside an isolated container with podman or docker in order to make sure, the developer doesn't have to install packages in their host machine.

Path 1 : Do we want to go with a plain Dockerfile from which we can derive a container image and the developer can build it according to their changes and provide a Makefile with rules: build and up to ease the building and running process of containers with podman (if available) else Docker

The developer would have to do the following:

make new <- to build the container image everytime they modify stuff
make up <- run the built container image.

Path 2: Another path would be to use docker-compose or podman-compose with a docker-compose.yml file to create and run the container.

The developer would have to do the following:

docker-compose up <- to build and run the container

A feature for the compose path would be, It'll only recreate containers that have changed.

created time in 7 days

PullRequestReviewEvent

Pull request review commentfedora-infra/mote

Documentation to run møte on Py3

 møte organises and serves meetings as a drop-in replacement, without needing an ### Using møte  Dependencies:- - Optional: `memcached` (`sudo dnf install memcached`)- - Python 2.7.x+ - `memcached` (`sudo dnf install memcached`)+ - Python 3.8.X+ - Pipenv  Installation:- - Optional: create virtual environment- - `pip install -r requirements.txt`- - Install using `python setup.py develop`+ - `pipenv install` will create a new virtual environment and install the requirements. `  Running møte:+ - Start `memcached` by typing `memcached` in the terminal and pressing Return (Enter) key.  - Edit [config.py](./files/config.py) with necessary information and place the `config.py` in [`mote/`](./mote)+ - Modify the copied `config.py` to use memcached by setting `use_memcached = TRUE`+   - You can do it by running the following command in command line too: `sed -i '/use_memcached = / s/False/True/' mote/config.py`+ - Enter the Pipenv's newly created virtualenv's shell with `pipenv shell`  - Run `python runmote.py` +**Note :** Make sure `memcached` is running in the background.

I was thinking to something similar, I don't think if we would need docker-compose / podman-compose , we can proceed with a simple Dockerfile too. What do you think ?

nasirhm

comment created time in 7 days

pull request commentfedora-infra/mote

Documentation to run møte on Py3

LGTM. Followed the instructions provided here and it works just how it is supposed to.

Thank you for the review, one thing to take care of in the Development experience in the future would be to include a sample config.json related file in order to make memcached an Optional dependency and ensuring it doesn't cause any errors in while keeping the usage of memcached = False Resulted in me creating issue #140 for further research.

nasirhm

comment created time in 7 days

issue closednasirhm/nasirhm

Typo at the "Contact Methods" section

Here, https://github.com/nasirhm/nasirhm/#contact-merthods.

closed time in 7 days

t0xic0der

issue commentnasirhm/nasirhm

Typo at the "Contact Methods" section

Thanks for opening the issue, Fixed :D

t0xic0der

comment created time in 7 days

push eventnasirhm/nasirhm

Nasir Hussain

commit sha 793de1d19f2ab9e243fb853c6609ffc46d39b7fe

fix: Contact-Methods Fixed Contact Methods.

view details

push time in 7 days

PR opened fedora-infra/mote

Documentation to run møte on Py3 D: contributor experience blocked documentation

Modified Documentation for Python 3 Usage of Pipenv to facilitate with the creation of Virtualenv and installation of packages inside it.

Dependent on PR: #135

+10 -5

0 comment

1 changed file

pr created time in 8 days

create barnchnasirhm/mote

branch : py3_updated_docs

created branch time in 8 days

issue openedfedora-infra/mote

[Bug] : config.json while memcached being False

While trying to run the Application with copying the config.py file to mote/ , It runs the application along with attaching a debugger to the WSGI application.

While accessing it via the browser, It was caused by the following issues (Stacktrace of the Debugger):

Traceback (most recent call last):
  File "/Infra/mote/mote/util.py", line 61, in get_json_cache
    with open(config().json_cache_location, mode='r') as json_store:
FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/httpd/mote/cache.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Infra/mote/mote/__init__.py", line 98, in get_cache_data
    res = util.get_json_cache(meeting_type)
  File "/Infra/mote/mote/util.py", line 76, in get_json_cache
    raise RuntimeError("Cache not found.")
RuntimeError: Cache not found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Infra/mote/mote/util.py", line 61, in get_json_cache
    with open(config().json_cache_location, mode='r') as json_store:
FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/httpd/mote/cache.json'

Why are we storing the cache.json file in a root-level directory /var/cache/httpd/cache.json if we're using the python runmote.py to run the development build ?

created time in 8 days

fork nasirhm/badgr-server

Open Badge issuing and management with Django

fork in 8 days

push eventnasirhm/badgrclient

Snehal Baghel

commit sha 5e6dd48b522107667dafeb3405734b58e6164c67

Add test for credentials

view details

push time in 8 days

startedspacetelescope/astronify

started time in 10 days

startedFOSSRIT/badges

started time in 10 days

startedFOSSRIT/Fedora-Badges-Ideas

started time in 10 days

startedtweag/nickel

started time in 10 days

startedopenshift-labs/learn-katacoda

started time in 10 days

issue commentpackit/ogr

Assigning Issues to based on usernames.

@shreyaspapi Nope, We don't.

saisankargochhayat

comment created time in 11 days

fork nasirhm/golang-container

Golang container image sources

fork in 12 days

startedsclorg/golang-container

started time in 12 days

startedanordal/selfdock

started time in 13 days

PullRequestReviewEvent

startedget-woke/woke

started time in 13 days

startedgoogle/gvisor

started time in 13 days

fork nasirhm/xepkgs

Xe's packages

fork in 14 days

push eventnasirhm/nasirhm

Nasir Hussain

commit sha df401c9490ec125f94804c81c0667f5dc4913221

Addition of License

view details

push time in 14 days

push eventnasirhm/nasirhm

Nasir Hussain

commit sha e0a3df31031d69c533bdfa79845bf0a55ece6b5d

:sparkles: Initial Commit

view details

push time in 15 days

startedm-hamzashakeel/m-hamzashakeel

started time in 15 days

create barnchnasirhm/nasirhm

branch : main

created branch time in 15 days

created repositorynasirhm/nasirhm

About Me

created time in 15 days

created repositorynasirhm/README.md

created time in 15 days

startedkarelzak/util-linux

started time in 15 days

startedhameditalha/CompilerConstruction

started time in 15 days

PullRequestReviewEvent

Pull request review commentfedora-infra/mote

Containerization

-----os: linux-dist: bionic--jobs:-  include:-    - language: python-      python: 3.8-      cache: pip-      install: "pip install -r requirements.txt"-      script: sh run_tests.sh+language: python

As @jwflory worked on modernizing the .travis.yml file for the CI, Please add:

os: linux
dist: bionic

jobs:
  include:
     - language: python
       ...
t0xic0der

comment created time in 15 days

PullRequestReviewEvent
PullRequestReviewEvent

pull request commentfedora-infra/mote

Updated footer in base.html

@jwflory It actually uses Bootstrap for the UI, and the following classes:

  • hidden-sm : It hides the element on Tablet sized devices
  • hidden-xs : It hides the element on a Mobile device.

By removing the above classes, It ensures that the element is visible on both Mobiles and Tablet sized devices.

NOTE: With Bootstrap 4 .hidden-* classes were completely removed (yes, they were replaced by hidden-- but those classes are also gone from v4 alphas). NOTE: Currently our frontend application uses, Bootswatch (Themes based on Bootstrap).

antriksh123

comment created time in 15 days

Pull request review commentfedora-infra/mote

Containerization

-----os: linux-dist: bionic--jobs:-  include:-    - language: python-      python: 3.8-      cache: pip-      install: "pip install -r requirements.txt"-      script: sh run_tests.sh+language: python+python:+  - "3.8"+# command to install dependencies+install: "pip install $(pipenv lock --requirements)"

How about using: pipenv install to ensure the Build works fine and then we can figure out a way to use pip instead ?

t0xic0der

comment created time in 15 days

PullRequestReviewEvent

pull request commentfedora-infra/mote

Containerization

Welcome, Please resolve the Conflicts with .travis.yml and fire up the Build :)

t0xic0der

comment created time in 15 days

pull request commentfedora-infra/mote

Containerization

@t0xic0der The following PR will fix issue: https://github.com/t0xic0der/mote/pull/1

Once it's merged, Tests will work fine.

t0xic0der

comment created time in 15 days

PR opened t0xic0der/mote

OpenID SDK bumped to python3-openid

Changes:

  • Removal of python-openid in Pipfile
  • and addition of a Python3 SDK for OpenID : python3-openid
  • Fixes CI for PR: https://github.com/fedora-infra/mote/pull/135
+3 -13

0 comment

2 changed files

pr created time in 15 days

create barnchnasirhm/mote

branch : t0xic0der-containerization

created branch time in 15 days

fork nasirhm/mote

Python Flask project used to aggregate and distribute IRC meeting minutes and logs for the Fedora Project

https://meetbot.fedoraproject.org

fork in 15 days

startedfedora-infra/mote

started time in 15 days

startedrobertkrimen/otto

started time in 16 days

fork nasirhm/eggos

A Go unikernel running on x86 bare metal

fork in 16 days

startedicexin/eggos

started time in 16 days

startedrpm-software-management/librepo

started time in 16 days

startedfedora-copr/copr

started time in 16 days

startednmattia/naersk

started time in 16 days

startedAlexander-Miller/i3wm-Config-Mode

started time in 16 days

pull request commentkowainik/learn4haskell

Solved Chapter 1

Fixed breaking tests and warnings.

nasirhm

comment created time in 16 days

push eventnasirhm/learn4haskell

nasirhm

commit sha cc526e76ad25cc9e01c19c8239e4c9e6bf57e903

Fix: tests for firstDigit with negative numbers

view details

push time in 16 days

push eventnasirhm/learn4haskell

nasirhm

commit sha a403eb675eb82f9c91c86f611bcd48e743f009e4

Fix: Tests

view details

push time in 16 days

PullRequestReviewEvent

push eventnasirhm/learn4haskell

nasirhm

commit sha 75236813278ccf489faf7ddddf56bba084b112d3

Fix CI warnings

view details

nasirhm

commit sha b6925c3b8201ffac1491c69c90e84b0554c0311f

fetch changes

view details

push time in 16 days

more