Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

Local install of repository workflow #56

@astavale

Description

@astavale

The current README makes it clear this repository is not intended for packaging or a system wide install. Because Vala uses Environment.get_system_data_dirs () to find the search directories for VAPIs then it is possible to create a workflow with a local install like:

cd ~/.local/share
git clone https://github.com/nemequ/vala-extra-vapis vala/vapi
XDG_DATA_DIRS=~/.local/share/:/usr/local/share/:/usr/share/
export XDG_DATA_DIRS

Then the VAPIs in this repository are found by valac. The setting and export of XDG_DATA_DIRS can be added to .bash_profile to make it persist across re-boots.

I find this useful for editing the VAPIs. The local git clone is of my own GitHub clone. This makes it easy to branch locally, push changes back to my GitHub clone and then create a pull request to the main repository.

I'm hoping this might encourage more contributions back to the repository and think it should be in the README somewhere. Does anyone else think that is a good idea and are there any other uses for such a workflow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions