Skip to content
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

Add description field to manifest #173

Closed
wants to merge 70 commits into from
Closed

Add description field to manifest #173

wants to merge 70 commits into from

Conversation

thomashoneyman
Copy link
Member

Starts fixing #124 by adding a description field.

Do we want to put any validation in place for description lengths? Tweet-length, perhaps?

@f-f
Copy link
Member

f-f commented May 24, 2021

Thank you for this @thomashoneyman!

Do we want to put any validation in place for description lengths? Tweet-length, perhaps?

Yeah I think that's a good call.

Note that we'd also need to update the README, as we embed the Manifest type there

Swordlash and others added 28 commits May 24, 2021 18:34
A library to build Google App Script with Purescript.
* Add package: peregrine

* Oops, forgot the `.git` suffix
)

In this commit we start turning the Bower-import machinery from a proof-of-concept
that generates Manifests from some Bowerfiles to the "production" machine that will
batch-import Bower packages into the Registry.

To do this we have to:
- introduce a more structured approach (a JSON file) in keeping track of what's
  wrong with the Bowerfiles that we try to convert to Registry `Manifest`s
- have more lenient coercions that come from trying to parse them in an
  accommodating way
…try index (#210)

* Add structured errors to bower import file

* Remove unused deps

* More structure to processing steps, collect errors

* Remove unused import

* Get it building

* Something funky in the cache

* Re-run cache and update reading registry index

* Better error output and new exclusions file

* Remove generated failures and manifests

* Prep TODOs for @colinwahl

* Update caches

* Run updated cache and preserve exclusions

* Minor versions fixup

* Clean up steps

* Match steps to existing code

* Forgot to commit exclusions file

* Rewrite a few more licenses

* convert Bowerfile to Registry Manifest while importing from bower

* Remove Step in favor of forPackage and clean up

* Add bower-exclusions to gitignore

* Encode and decode exclusions file JSON

* Fix union in filter function

* Add encoding to generic json

* Don't check name matches and only throw on 404

* Remove redundant import

* Throw ImportError on failure to fetch releases

* Format

* Update representation of PackageFailures with Either

* Format

Co-authored-by: Colin Wahl <colin.t.wahl@gmail.com>
thomashoneyman and others added 27 commits October 4, 2021 18:28
* Treats semver as opaque type

* Changes semvar to opaque type

* Uses previous version of decode semver

Co-authored-by: Thomas Honeyman <admin@thomashoneyman.com>
…bf-gun.git (#256)

Co-authored-by: Thomas Honeyman <admin@thomashoneyman.com>
…stryIndex`, topologically sort a self-contained `RegistryIndex` (#264)

* Add PackageGraph, add purescript-graphs dependency

* Add bindings to maxSatisfying

* Construct PackageGraph from RegistryIndex

* Add checkRegistryIndex

* Using Array is slightly faster with these collections

* Optimization

* Optimization

* Fix build

* Replace selfContainedDependencies check with constraint solving approach. TODO: Maintain these errors for reporting

* Move self-contained registry check to end of LegacyImport, report amount of manifests with unsatisifed dependencies

* Document Registry.PackageGraph

* Update comments

* Format Registry.Prelude

* Modify checkRegistryIndex to only care if one version of each dependency is valid. Modify toPackageGraph to construct an each to each (dependency, version) pair for a given packagename dependency. Correct order for inOrder

* Add check to verify packages are correctly sorted

* Remove unused imports

* Cleanup: fix exports & comments

* Fix dependencies

* clarify intent of progress

* review feedback

* some cleanup

Co-authored-by: Thomas Honeyman <admin@thomashoneyman.com>
* Removes unsafe operation from main pipeline

* Update spago.dhall

* formatting

Co-authored-by: Thomas Honeyman <admin@thomashoneyman.com>
Co-authored-by: Fabrizio Ferrai <fabrizio.ferrai@gmail.com>
#180)

Co-authored-by: Fabrizio Ferrai <fabrizio.ferrai@gmail.com>
Co-authored-by: Dirk Zimmermann <me@dirkz.com>
Co-authored-by: Thomas Honeyman <admin@thomashoneyman.com>
@f-f
Copy link
Member

f-f commented Dec 26, 2021

Superseded by #282

@f-f f-f closed this Dec 26, 2021
@thomashoneyman thomashoneyman deleted the description branch January 11, 2022 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.