Comments (6)
For those from MOC with access to the private repos, there was some code in this PR (never merged due to other issues) which give one approach for the headers part: https://github.com/CCI-MOC/moc/pull/54
from moc-openstack-tools.
Line 215 in addusers.py
USER_COLUMN = 4
can be
USER_COLUMN = rows[0].index('Email Address')
to be less hard-coded.
Will be looking into the config.py file tomorrow!
from moc-openstack-tools.
@ltomatsu good idea. There is a similar line in set-quotas.py. Can you make the change and submit a PR? If you need help navigating git/Github I can help with that this afternoon.
from moc-openstack-tools.
Could I get access to the quota-sheet to see what I am header index name I am suppose to use?
Also, for the header in config, when loading the header in config, do we want a variable header and functions that can index this variable inside config that can be used as a module?
from moc-openstack-tools.
I gave you read access to the sheet, let me know if it didn't work. For the header, we want to be able to put a line in the config file something like this:
user_column = Email Address
And then if we changed the name of the column in the spreadsheet from "Email Adresss" to "Email" or something, we would just update the config file.
from moc-openstack-tools.
Yes I got the access and I think I understand what should be in the config file.
I made a pull request #65
from moc-openstack-tools.
Related Issues (20)
- Email address checks should not be case sensitive
- Remove bare except blocks HOT 2
- Remove permanent resource requests
- Asking user to use osticketing system
- fix directory structure so that tests work
- user/project selection does not preserve row index
- new project email doesn't contain the name of the project HOT 6
- centralize exceptions into one file
- HACKING.md suggests running a CentOS command on Ubuntu HOT 2
- Allow users to create project names with whitespace. HOT 1
- Remove set-quota requests from Google Sheets HOT 12
- Default quota setting is incorrect (?) HOT 4
- check-approved-requests.py partially fails. HOT 1
- addusers Kaizen OpenStack creds visible in config file HOT 11
- Request processing and emailing both depend on same cron cycle
- Automation of projects visible in request form HOT 1
- User account request form: Time stamps captured are incorrect HOT 10
- Resetting password is a manual process HOT 1
- Need to remove preceeding and trailing whitespace from user input HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moc-openstack-tools.